日期:2014-05-19 浏览次数:20796 次
List<Map<T,T>>list;
Iterator<Map<T,T>>iter=list.iterator();
while(iter.hasNext()){
Map<T,T>map=iter.next();
Iterator<Entry<T,T>>mIter=map.entrySet().iterator();
while(mIter.hasNext()){
Entry<T,T>e=mIter.next();
System.out.println("key:"+e.getKey()+";value:"+e.getValue());
}
}