map iterate i+1 elemet code example
Example: iterate map
Map map = ...
for (Map.Entry entry : map.entrySet()) {
System.out.println(entry.getKey() + "/" + entry.getValue());
}
Map map = ...
for (Map.Entry entry : map.entrySet()) {
System.out.println(entry.getKey() + "/" + entry.getValue());
}