Tagged “Java 8 forEach example”

Java 8 - Iterating collections and maps with "forEach", Consumer and BiConsumer

11 Jan, 2017

Java 8 introduced new way of iterating Collections API. It is retrofitted to support forEach method which accepts Consumer in case of Collection and BiConsumer in case of Map.


See all tags.