List 分组 Map<String,List> map = studentList.stream().collect(Collectors.groupingBy(Student::getName)); MapUtils.verbosePrint(System.out,“打印”,map);