Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

iterate thrpugh hasmap

for (Map.Entry<Integer, Integer> entry : hm.entrySet()) {
            int a=entry.getKey();
            int b=entry.getValue();
}
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #iterate #thrpugh #hasmap
ADD COMMENT
Topic
Name
9+4 =