default Optional.OrElse |
Optional.ifNotPresent(java.lang.Runnable runner) |
Execute the runner method if no entity is present in this wrapped object
|
default <X extends java.lang.Throwable> Optional.OrElse |
Optional.ifNotPresent(java.util.function.Supplier<X> exceptionSupplier) |
Throws an exception when no value is present in this value
|
Optional.OrElse |
Optional.ifPresent(java.util.function.Consumer<T> consumer) |
Process the present element wrapped within using the provided Consumer .
|
<X extends java.lang.Throwable> Optional.OrElse |
Optional.ifPresent(java.util.function.Supplier<X> exceptionSupplier) |
Throw an exception if an element is present within.
|