摘要: //多个集合合并,得到一个新的集合 List<T> list= Stream.of(list1, list2, ...).flatMap(Collection::stream).collect(Collectors.toList()); //集合根据某一属性去重,得到一个新的集合 List<T> n 阅读全文
posted @ 2023-03-21 10:49 青竹玉简 阅读(31) 评论(0) 推荐(0) 编辑