@Deprecated
public static class API.For1Option<T1>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Option<T1> |
yield()
Deprecated.
to be replaced with revised JDK13-compliant API
|
<R> Option<R> |
yield(java.util.function.Function<? super T1,? extends R> f)
Deprecated.
to be replaced with revised JDK13-compliant API
|
@Deprecated public <R> Option<R> yield(java.util.function.Function<? super T1,? extends R> f)
R
- type of the resulting Option
elementsf
- a function that maps an element of the cross product to a resultOption
of mapped results