- 博客(2)
- 收藏
- 关注
原创 Java8 新特性之集合: removeIf(Predicate<? super E> filter)
下边是JDK1.8.0_121中接口Collection的部分源码:/** * Removes all of the elements of this collection that satisfy the given * predicate. Errors or runtime exceptions thrown during iteration or by * the predic
2017-04-12 22:21:08
14351
原创 Java8 新特性之集合: forEach(Consumer<? super T> action)
Java8 新特性之 forEach下边是JDK1.8.0_121中的源码: /** * Performs the given action for each element of the {@code Iterable} * until all elements have been processed or the action throws an * exce
2017-04-11 21:12:25
18109
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人