List<BelongInstitutions> belongInstitutionsList = getBelongInstitutionsList(courseBelongInstitutions, courseBelongChannels); List<String> courseIdList = belongInstitutionsList.stream().map((a) -> a.getCmoocAllId()).collect(Collectors.toList());
Lambda表达式之list收集集合某一元素到另一集合
最新推荐文章于 2022-07-07 11:25:02 发布