How to use groupingBy Collector in Java Streams

groupingBy is similar to GROUP BY of SQL since it groups and collects the objects based…

Iterating over List: Basic to Advance to Stream API

how you can iterate over a List, be it ArrayList, LinkedList or any other. Basic loop…

Stream API: The Hero Without a Cape

An unsung hero of the Java world, the Stream API which was added to Java 8…