摘要: 阅读全文
posted @ 2023-04-02 20:26 猿码哥 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-04-02 19:47 猿码哥 阅读(9) 评论(0) 推荐(0) 编辑
摘要: Map<Integer, Person> collect = list.stream().collect(Collectors.toMap(Person::getId, Function.identity())); Map<Integer, Person> collect1 = list.strea 阅读全文
posted @ 2023-04-02 12:53 猿码哥 阅读(22) 评论(0) 推荐(0) 编辑