Package com.fa993.types.supertype
-
Class Summary Class Description Either A utility class representing an exclusive choice between two or three possible types.Either.OfThree<A,B,C> Represents an exclusive choice between three possible types.Either.OfTwo<A,B> Represents an exclusive choice between two possible types.NumOrTwoSeqOrNdArr Represents a specialized version ofEither.OfThree
that can hold one of three types: ADouble
value An array of twodouble
values A 2D array ofdouble
values This class enforces specific constraints on the second type, requiring it to be a sequence of exactly two doubles.Pair<P,Q> A generic class representing a pair of two related objects.PairOfDoubleOrDArr Represents a pair where each element is an instance ofEither.OfTwo
that can hold: ADouble
value An array ofdouble
values -
Enum Summary Enum Description Either.Selector Enum representing the possible choices: First, Second, or Third.