![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java8
我是全栈架构师
高级架构师
展开
-
Java8 PredicateDemo
public class PredicateDemo { public static void main(String[] args) { Predicate nonNull = Objects::nonNull; Predicate isNull = Objects::isNull; Predicate isEmpty = String原创 2018-01-26 10:15:56 · 201 阅读 · 0 评论 -
Java8 MapDemo
public class MapDemo { public static void main(String[] args) { //Map //咱们先向map中放入10个元素 Map map = new HashMap<>(); for (int i = 1; i 10; i++) { map.pu原创 2018-01-26 10:42:33 · 214 阅读 · 0 评论