23,404
社区成员
发帖
与我相关
我的任务
分享
Map<string, ArrayList<Student>> map= new HashMap<string, ArrayList<Student>>();
for(Map.Entry<String,ArrayList<Student>> entry:map.entrySet()){
ArrayList<Student> list=entry.getValue();
for(Student student:list){
System.out.println(student.getName());
.......
}
}