jdk1.8的新特性:很全面

JDK1.8:

https://www.cnblogs.com/tiantianbyconan/p/3613506.html

stream的几个方法:

filter:

过滤条件

过滤为空的方法:

刚好相反:

 Stream.filter(x -> x!=null)

Objects::nonNull

map:

flatMap:

介绍的很好:

https://blog.csdn.net/lsmsrc/article/details/41120127

map判断key的方式:

https://blog.csdn.net/yyd19921214/article/details/70084571

原文地址:https://www.cnblogs.com/fengli9998/p/9184376.html