Uses of Class
de.xima.fc.common.data.algebraic.OneOfN.OneOf4
Packages that use OneOfN.OneOf4
-
Uses of OneOfN.OneOf4 in de.xima.fc.common.data.algebraic
Methods in de.xima.fc.common.data.algebraic that return OneOfN.OneOf4Modifier and TypeMethodDescriptionstatic <T1,T2, T3, T4>
OneOfN.OneOf4<T1, T2, T3, T4> OneOfN.OneOf4.first(T1 first) static <T1,T2, T3, T4>
OneOfN.OneOf4<T1, T2, T3, T4> OneOfN.OneOf4.firstNonNull(T1 t1, T2 t2, T3 t3, T4 t4) Returns the first non-null value of the four given values as a OneOf4 type.static <T1,T2, T3, T4>
OneOfN.OneOf4<T1, T2, T3, T4> OneOfN.OneOf4.fourth(T4 fourth) <R1,R2, R3, R4>
OneOfN.OneOf4<R1, R2, R3, R4> OneOfN.OneOf4.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) 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.OneOf5.mergeFirst(Function<? super T1, ? extends T2> combiner) Allows for a multi-stage reduce operation of the cases into a single value.Allows for a multi-stage reduce operation of the cases into a single value.static <T1,T2, T3, T4>
OneOfN.OneOf4<T1, T2, T3, T4> OneOfN.OneOf4.second(T2 second) static <T1,T2, T3, T4>
OneOfN.OneOf4<T1, T2, T3, T4> OneOfN.OneOf4.third(T3 third)