Uses of Class
de.xima.fc.common.data.algebraic.OneOfN.OneOf3
Packages that use OneOfN.OneOf3
-
Uses of OneOfN.OneOf3 in de.xima.fc.common.data.algebraic
Methods in de.xima.fc.common.data.algebraic that return OneOfN.OneOf3Modifier and TypeMethodDescriptionstatic <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.OneOf4.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> OneOfN.OneOf3 <T1, T2, T3> OneOfN.OneOf3.middle(T2 middle) static <T1,T2, T3> OneOfN.OneOf3 <T1, T2, T3> OneOfN.OneOf3.right(T3 right) -
Uses of OneOfN.OneOf3 in de.xima.fc.common.geometry
Methods in de.xima.fc.common.geometry that return OneOfN.OneOf3Modifier and TypeMethodDescriptionGeometry2D.classifyRectangleCardinalPosition(Point2DDouble pos1, Rectangular2DDouble size1, Point2DDouble pos2, Rectangular2DDouble size2) Classifies the relative position of two non-overlapping rectangles r1 and r2 in a 2D space in regard to their cardinal relationship.