Rahhh, je l'oublie toujours celui là ! Parcourir une Map en Java :
HashMap<String, String> selects = new HashMap<String, String>();
for(Entry<String, String> entry : selects.entrySet()) {
String key = entry.getKey();
String value = entry.getValue();
// do what you have to do here
// In your case, an other loop.
}
-
-
http://stackoverflow.com/questions/4234985/how-to-for-each-the-hashmap