摘要: filter filter:过滤,就是过滤器,符合条件的通过,不符合条件的过滤掉; // 筛选出成绩不为空的学生人数count = list.stream().filter(p -> null != p.getScore()).count(); map map:映射,他将原集合映射成为新的集合 // 阅读全文
posted @ 2024-07-09 23:11 KLAPT 阅读(2) 评论(0) 推荐(0) 编辑