摘要: 集合(Map,List)分组:多属性进行分组 一、List 实体字段分组 1. 根据单一字段进行分组: Map<Integer, List<SomeEntity>> detailTypeMap = SomeEntityS.stream().collect(Collectors.groupingBy( 阅读全文
posted @ 2021-09-21 22:21 BGStone 阅读(6634) 评论(0) 推荐(0) 编辑