标签:
//遍历MAP方法,效率较低
Iterator it = map.keySet().iterator();
while(it.hasNext()){
String key = (String) it.next();
String value = map.get(key);
System.out.println(key + "→" + value);
}
标签:
原文地址:http://www.cnblogs.com/xiaohaizhuimeng/p/Iterator.html