Return to Snippet

Revision: 10061
at December 5, 2008 07:53 by Uzbekjon


Initial Code
//HashMap<Key, Value> map = new HashMap<Key, Value>();
for (Key key : map.keySet()) {
    Value value = map.get(key);
}

Initial URL
http://javamess.blogspot.com/

Initial Description
How to traverse a hash map in java, similar to PHP's foreach.

Initial Title
Traversing the Map (HashMap) in Java

Initial Tags

                                

Initial Language
Java