首页 > 技术文章 > list去重jdk1.8

gxl1 2019-12-19 11:36 原文

List<Object> newList = ll.stream().distinct().collect(Collectors.toList()); //jdk8去重操作

推荐阅读