Functional
Java’s new functional abilities come with a plethora of included types. Let’s take a look into the box of provided tools.
Java is a general-purpose programming language with class-based object-orientation at its core.
But, with the release of version 8, a more functional programming style became viable.
With Java 8 came one of the greatest additions to Java: the Stream API. And one of its important aspects is collecting its results.