Java Streams: Map
The first steps into Stream and functional programming in Java
Since Java 8, we are granted an extraordinary tool that allows us to bring functional programming to Java.
Functional programming is a paradigm based on applying and composing functions, treated as a data type: they can be assigned to names (identifiers) and passed as arguments or even composed in a modular way.