首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

hash地图的遍历

2012-08-21 
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();
}

热点排行