Java : Comment itérer sur une hashmap
Map<String, String> items = new HashMap<String, String>();
//fill map with String, String values
…
for (Map.Entry<String,String> entry : items.entrySet()) {
String key = entry.getKey();
String value = entry.getValue();
//do stuff here
}