摘要: userList = userList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(()->new TreeSet<>(Comparator.comparing(User::getCity))), Arr 阅读全文
posted @ 2023-04-14 09:56 yvioo 阅读(1412) 评论(0) 推荐(0) 编辑