标签:
/*Map转成List的办法*/
List<Map.Entry<Student, String>> list = new ArrayList<Map.Entry<Student, String>>(classTreeMap.entrySet());
for(Entry ent: list){
System.out.println(ent.getKey());
System.out.println(ent.getValue());
}
标签:
原文地址:http://www.cnblogs.com/zyjcxc/p/5463628.html