static <T1,T2,T3> OneOfN.OneOf3<T1,T2,T3> |
OneOfN.OneOf3.firstNonNull(T1 t1,
T2 t2,
T3 t3) |
Returns the first non-null value of the two given values as a OneOf3 type.
|
static <T1,T2,T3> OneOfN.OneOf3<T1,T2,T3> |
OneOfN.OneOf3.left(T1 left) |
|
<R1,R2,R3> OneOfN.OneOf3<R1,R2,R3> |
OneOfN.OneOf3.map(Function<? super T1,? extends R1> left,
Function<? super T2,? extends R2> middle,
Function<? super T3,? extends R3> right) |
Maps this sum type to another sum type by invoking the mapping function for the matching case with the value
of this sum type and returning the result.
|
OneOfN.OneOf3<T2,T3,T4> |
OneOfN.OneOf4.mergeFirst(Function<? super T1,? extends T2> combiner) |
Allows for a multi-stage reduce operation of the cases into a single value.
|
OneOfN.OneOf3<T1,T2,T3> |
OneOfN.OneOf4.mergeLast(Function<? super T4,? extends T3> combiner) |
Allows for a multi-stage reduce operation of the cases into a single value.
|
static <T1,T2,T3> OneOfN.OneOf3<T1,T2,T3> |
OneOfN.OneOf3.middle(T2 middle) |
|
static <T1,T2,T3> OneOfN.OneOf3<T1,T2,T3> |
OneOfN.OneOf3.right(T3 right) |
|