
java-源码
HelloMrZheng
Java
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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 · 14537 阅读 · 0 评论 -
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 · 18442 阅读 · 0 评论