List根据多个字段分组
摘要:
List<ClassEntity> distinctClass = classEntities.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.c 阅读全文
posted @ 2018-06-05 15:59 还有梦 阅读(7712) 评论(0) 推荐(0) 编辑