java8关于常用的list的操作
java8常用list操作List<Object> lists = Lists.newArrayList();1.去重//根据某一元素去重List<Object> list = lists.stream().collect(Collectors.collectingAndThen( Collectors.toCollection(() -> new TreeSet<>(