HashMasp  records

 

一、keySet

Iterator it = records.keySet().iterator();

while(it.hasNext()){

   String row = it.next();

   ArrayList rowf = records.get(row);

}

 

二、entySet

Iterator iter = records.entrySet().iterator();
while (iter.hasNext()) { 
         Map.Entry entry = (Map.Entry) iter.next(); 
         Object key = entry.getKey(); 
         Object val = entry.getValue();

}