optional
2 tutorials tagged “optional”.
- Optional Best PracticesWhen to use Optional and when not to: return types yes, fields and parameters no, never null, no bare get, and how to chain map, flatMap and orElse well.
- Optional Class in JavaOptional is a container that may or may not hold a value, used to return 'no result' without null. Learn how to create, check, read and transform it.