language/java

자바 stream Grouping

datajoy 2020. 8. 13. 02:29
Map<String, List<AblJaDataQstn>> ablJaDataQstnListGroupByJobWorkCd = this.ablJaDataQstnList.stream().collect(Collectors.groupingBy(AblJaDataQstn::getJobWorkCd));