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

HashMap 正常遍历

2012-10-08 
HashMap 一般遍历Map mapnew HashMap()Iterator itmap.entrySet().iterator()while(it.hasNext){Map.En

HashMap 一般遍历
Map map=new HashMap()
Iterator it=map.entrySet().iterator();
while(it.hasNext){
Map.Entry entry=it.next();
  Object   value=entry.getValue();
}

热点排行