868 links
  • Links Lounge
  • Home
  • Login
  • RSS Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
  • java - How to for each the hashmap? - Stack Overflow

    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.

    }

    Tue 12 Mar 2013 05:04:26 PM CET - permalink -
    - - - http://stackoverflow.com/questions/4234985/how-to-for-each-the-hashmap
    Java Map
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, no-database delicious clone by the Shaarli community - Help/documentation