4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:hashmap tag:java — newest first
  • Iterate over a Map using Java 5 generics « timothypowell.net

    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
    }

    March 9, 2012 - permalink - http://timothypowell.net/blog/?p=177
    hashmap java map