Package com.fa993.types.supertype
Class PairOfDoubleOrDArr
- java.lang.Object
-
- com.fa993.types.supertype.Pair<Either.OfTwo<Double,double[]>,Either.OfTwo<Double,double[]>>
-
- com.fa993.types.supertype.PairOfDoubleOrDArr
-
public class PairOfDoubleOrDArr extends Pair<Either.OfTwo<Double,double[]>,Either.OfTwo<Double,double[]>>
Represents a pair where each element is an instance ofEither.OfTwothat can hold:- A
Doublevalue - An array of
doublevalues
- A
-
-
Constructor Summary
Constructors Constructor Description PairOfDoubleOrDArr(Either.OfTwo<Double,double[]> first, Either.OfTwo<Double,double[]> second)Constructs aPairOfDoubleOrDArrwith the specified first and second elements.
-
-
-
Constructor Detail
-
PairOfDoubleOrDArr
public PairOfDoubleOrDArr(Either.OfTwo<Double,double[]> first, Either.OfTwo<Double,double[]> second)
Constructs aPairOfDoubleOrDArrwith the specified first and second elements.- Parameters:
first- the first element of the pair, an instance ofEither.OfTwosecond- the second element of the pair, an instance ofEither.OfTwo
-
-