Loading

摘要: /** * @author znj */ public class ListUtils { /** * list 集合分组 * * @param list 待分组集合 * @param groupBy 分组Key算法 * @param <K> 分组Key类型 * @param <V> 行数据类型 * 阅读全文
posted @ 2021-06-01 19:04 znj-wu 阅读(143) 评论(0) 推荐(0)
摘要: 对象集合分组然后求和 public static void main(String[] args) { List<ProductInformation> productInformationList = Lists.newArrayList(); ProductInformation p1 = ne 阅读全文
posted @ 2021-06-01 18:50 znj-wu 阅读(427) 评论(0) 推荐(0)