java lambada表达式

  Map<String, BigDecimal> teacherContribution = resultList.stream().collect(Collectors.toMap(RankingTeacherTotal::getUserId, RankingTeacherTotal::getValue, (e1, e2) -> e1));

 

posted @ 2020-06-16 11:23  八英里  阅读(337)  评论(0编辑  收藏  举报