hash地图的遍历

hashmap的遍历for(Iterator ite map.entrySet().iterator() ite.hasNext()){Map.Entry entry (Map.E

hashmap的遍历
for(Iterator ite = map.entrySet().iterator(); ite.hasNext();){
  Map.Entry entry = (Map.Entry) ite.next();
  entry.getKey();
  entry.getValue();
}