Fork me on GitHub
摘要: // 根据id去重 List<Person> unique = appleList.stream().collect( collectingAndThen( toCollection(() -> new TreeSet<>(comparingLong(Apple::getId))), ArrayLi 阅读全文
posted @ 2018-12-05 21:00 MgicalFool 阅读(4560) 评论(0) 推荐(0) 编辑