摘要: 阅读全文
posted @ 2023-04-02 20:26 猿码哥 阅读(13) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-04-02 19:47 猿码哥 阅读(18) 评论(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 猿码哥 阅读(34) 评论(0) 推荐(0)