摘要: 根据某一字段进行去重List<Entity> arrays = arr.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(Ent 阅读全文
posted @ 2023-03-13 20:42 歳月 阅读(113) 评论(0) 推荐(0)