摘要: userList = userList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(User :: getUserid)) 阅读全文
posted @ 2022-01-07 11:27 唯忆学长 阅读(4158) 评论(0) 推荐(0) 编辑