PowerBI Data Analyst - Create visualizations and dashboards from scratch
Build the Finance Skills That Lead to Promotions, Not Just Certificates
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This session explains the history and rationale of Java’s Optional class, with examples of effective usage and common antipatterns. It also covers refactoring Optional code and current and proposed work for Java 9.
Syllabus
Introduction
Overview
Optional
Why Optional
Refactoring
What is Optional
Using Optional
Range of Use Cases
Optional Exceptions
Optional Methods
Optional Map
Optional Filter
IfPresent
Other Methods
Stream Methods
Optional of Nullable
Avoiding Ordinary If Statements
Writing the Code
Problem with Optional
Optional Get
Other Issues
Overuse of Optional
Bike Shading
Fields
Blogs
Wrapup
Taught by
Devoxx