Java Streams Tutorials - Part 18 - Optionals

Опубликовано: 07 Октябрь 2024
на канале: Dr. Seán Kennedy
89
4

In this video, the reason for the use of Optionals is explained. In addition, code is presented demonstrating Optionals in action. This includes Optional.ofNullable() and primitive Optionals. Taken from my Udemy Lambdas and Streams course on Udemy - see coupons here :    • Coupons Page  .

The full Streams playlist is here:    • Playlist  

0:00 Introduction
0:38 Examples in code
2:57 Optional.ofNullable()
4:37 primitive Optionals