java8根据1.多个属性相同时去重 --2.属性大小比较去重
public class Demo02If {
public static void main(String[] args) {
List<Person> personList = new ArrayList<>();
personList.add(new Person("one", 10));
personList.add(new Person("tw...
原创
2020-01-08 17:59:38 ·
1237 阅读 ·
0 评论