iterate map in java 8 using stream code example
Example: iterate map in java 8 using stream
public void iterateUsingStreamAPI(Map map) {
map.entrySet().stream()
// ...
.forEach(e -> System.out.println(e.getKey() + ":" + e.getValue()));
}