Package org.apache.commons.math3.util
Class MathArrays.PairDoubleInteger
java.lang.Object
org.apache.commons.math3.util.MathArrays.PairDoubleInteger
- Enclosing class:
MathArrays
A helper data structure holding a double and an integer value.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
key
private final double keyKey -
value
private final int valueValue
-
-
Constructor Details
-
PairDoubleInteger
PairDoubleInteger(double key, int value) - Parameters:
key
- Key.value
- Value.
-
-
Method Details
-
getKey
public double getKey()- Returns:
- the key.
-
getValue
public int getValue()- Returns:
- the value.
-