Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java for map

Map<String, String> map = new HashMap<>();

for(Entry<String, String> entry:map.entrySet()) {
  System.out.println("key: "+entry.getKey()+" value: "+entry.getValue());
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #map
ADD COMMENT
Topic
Name
4+2 =