Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

foreach map java

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