Java8 使用 stream().map()提取List对象的某一列值及排重
List对象类(StudentInfo) public class StudentInfo implements Comparable<StudentInfo> { //名称 private String name; //性别 true男 false女 ...
List对象类(StudentInfo) public class StudentInfo implements Comparable<StudentInfo> { //名称 private String name; //性别 true男 false女 ...