java lambada表达式

  Map<String, BigDecimal> teacherContribution = resultList.stream().collect(Collectors.toMap(RankingTeacherTotal::getUserId, RankingTeacherTotal::getValue, (e1, e2) -> e1));
原文地址:https://www.cnblogs.com/deepalley/p/13140008.html