例:獲取disposeList集合中CorpusMarkPage物件中的responseId屬性,生成新的List集合
List<String> responseIdList = disposeList.stream().map(CorpusMarkPage::getResponseId).collect(Collectors.toList());
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/208603.html
標籤:其他
上一篇:畢業即失業?大學生如何分配學習時間比例,擁有完整計算機知識體系?
下一篇:IDEA常用快捷鍵
