An advantage of Scala to Java is the number of method to use on collections (List, Seq, Buffer, etc), and implement the functional programming approach simplifying our code. In this article, we will understand the usage of the collect method and its benefits.
Continue readingTag: map
How to use Java Optional
Let’s see how to use the Java Optional class efficiently and introduce some functional programming to simplify our code.
Continue reading