【文件属性】:
文件名称:java遍历Map对象的说有数据
文件大小:5KB
文件格式:TXT
更新时间:2012-08-17 04:42:24
遍历Map对象内容
//方法一: 用entrySet()
Iterator it = emails.entrySet().iterator();
while(it.hasNext()){
Map.Entry m=(Map.Entry)it.next();
logger.info("email-" + m.getKey() + ":" + m.getValue());
}