Tag: Optional

optional ofNullable filter

Soprano ofNullable stream Challenge

Since Java 9, it’s possible to use Optional with a stream in case we need to manipulate values from a List. In this Java Challenge, we will explore the use of a stream in an Optional! Are you ready to solve this Java Challenge? If you want to...

Optional takeWhile dropWhile

Optional takeWhile dropWhile Challenge

The Optional concept is present in many other programming languages. The main goal of the Optional class is to avoid NullPointerException. It’s much easier to deal with null values when we use the concepts of an Optional. In this challenge, we...

Stand Out as a Java Developer and Get Your Dream Job!

You will get the book by email in a few minutes after registering.