
List<String> collectAfter = students.stream().map(Student::getName).distinct().collect(Collectors.toList());

List<String> collectAfter = students.stream().map(Student::getName).distinct().collect(Collectors.toList());
1019
2348

被折叠的 条评论
为什么被折叠?