for(Map.Entry<String, String> entry:map.entrySet()){
//todo
}
spa
Set set = map.entrySet();
Iterator i = set.iterator();
while(i.hasNext()){
Map.Entry<String, String> entry1=(Map.Entry<String, String>)i.next();
//todo
}
it
Iterator it=map.keySet().iterator();
while(it.hasNext()){
//todo
} 遍歷
Iterator it=map.entrySet().iterator();
while(it.hasNext()){
Map.Entry entry = (Map.Entry)it.next();
//todo
} map