martedì 3 novembre 2009

Java HashMap reading using Iterator


Example :

HashMap hm = new HashMap();
ArrayList l;
Iterator iterator = hm.values().iterator();
while( iterator. hasNext() ){

l=(ArrayList)iterator.next();
......
.....
}

in riferimento a: g - Cerca con Google (visualizza su Google Sidewiki)

Nessun commento:

Posta un commento