static <T1,T2,T3,T4,T5> OneOfN.OneOf5<T1,T2,T3,T4,T5> |
OneOfN.OneOf5.fifth(T5 fifth) |
|
static <T1,T2,T3,T4,T5> OneOfN.OneOf5<T1,T2,T3,T4,T5> |
OneOfN.OneOf5.first(T1 first) |
|
static <T1,T2,T3,T4,T5> OneOfN.OneOf5<T1,T2,T3,T4,T5> |
OneOfN.OneOf5.firstNonNull(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5) |
Returns the first non-null value of the five given values as a OneOf5 type.
|
static <T1,T2,T3,T4,T5> OneOfN.OneOf5<T1,T2,T3,T4,T5> |
OneOfN.OneOf5.fourth(T4 fourth) |
|
<R1,R2,R3,R4,R5> OneOfN.OneOf5<R1,R2,R3,R4,R5> |
OneOfN.OneOf5.map(Function<? super T1,? extends R1> first,
Function<? super T2,? extends R2> second,
Function<? super T3,? extends R3> third,
Function<? super T4,? extends R4> fourth,
Function<? super T5,? extends R5> fifth) |
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.
|
static <T1,T2,T3,T4,T5> OneOfN.OneOf5<T1,T2,T3,T4,T5> |
OneOfN.OneOf5.second(T2 second) |
|
static <T1,T2,T3,T4,T5> OneOfN.OneOf5<T1,T2,T3,T4,T5> |
OneOfN.OneOf5.third(T3 third) |
|