摘要: list.stream().collect(Collectors.toMap(Class::getParam, Function.identity(), (a, b) -> { a.setParam(a.getParam() + b.getParam()); .... return a; }));例 阅读全文
posted @ 2021-09-18 16:02 DarkerbeS 阅读(1753) 评论(1) 推荐(0) 编辑