Java Iterate Hashmap
Iterator
iterator = hashmap.keySet().iterator();
while
(iterator .hasNext()) {
String
key = (String) iterator .next();
String
val = hashmap.get(key);
}
No comments:
Post a Comment