List nameList = studentList.stream().map(StudentInfo::getName).collect(Collectors.toList());
List<String> nameList = studentList.stream().map(StudentInfo::getName).collect(Collectors.toList());
最新推荐文章于 2023-03-23 15:08:56 发布
List nameList = studentList.stream().map(StudentInfo::getName).collect(Collectors.toList());