Class SortInPlace.PairDoubleInteger
java.lang.Object
org.apache.commons.numbers.arrays.SortInPlace.PairDoubleInteger
- Enclosing class:
SortInPlace
Helper data structure holding a (double, integer) pair.
-
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
-
key
double key()- Returns:
- the key.
-
value
int value()- Returns:
- the value.
-