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