java8 分组排序
摘要:
//先根据姓名分组再根据分数排序 Map<String, List<Student>> map1 = listAll.stream().collect( Collectors.groupingBy(Student::getName, HashMap::new, Collectors.collecti 阅读全文
posted @ 2023-03-06 20:15 wjbk 阅读(297) 评论(0) 推荐(0)
posted @ 2023-03-06 20:15 wjbk 阅读(297) 评论(0) 推荐(0)