toList

java8 List去掉重复对象的几种方法
StringpublicListremoveStringListDupli(ListstringList){  Setset=newLinkedHashSetunique=list.stream().distinct().collect(Collectors.toList
·2022-04-08 13:15