05 2022 档案

摘要:1、过滤 List<Condition> type1 = conditionsList.stream().filter(item -> item.getSortType() == 1).collect(Collectors.toList()); 过滤出符合条件的元素,作为一个新的list 2、删除集 阅读全文
posted @ 2022-05-25 14:07 棒棒糖堂堂主 阅读(83) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示