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.OfTwo
that can hold:- A
Double
value - An array of
double
values
- A
-
-
Constructor Summary
Constructors Constructor Description PairOfDoubleOrDArr(Either.OfTwo<Double,double[]> first, Either.OfTwo<Double,double[]> second)
Constructs aPairOfDoubleOrDArr
with the specified first and second elements.
-
-
-
Constructor Detail
-
PairOfDoubleOrDArr
public PairOfDoubleOrDArr(Either.OfTwo<Double,double[]> first, Either.OfTwo<Double,double[]> second)
Constructs aPairOfDoubleOrDArr
with the specified first and second elements.- Parameters:
first
- the first element of the pair, an instance ofEither.OfTwo
second
- the second element of the pair, an instance ofEither.OfTwo
-
-