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…

The Interface of Java and the Many Faces of It

Interface is an integral part of java and has become so powerful over the years, that…

Stream API: The Hero Without a Cape

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

Be More Functional with Java’s Functional Interfaces

Java8 provided functional interfaces and how it gives java an ability to do functional programming.