Package | Description |
---|---|
org.openimaj.util.pair |
Modifier and Type | Field and Description |
---|---|
static Comparator<DoubleDoublePair> |
DoubleDoublePair.FIRST_ITEM_ASCENDING_COMPARATOR
Comparator for comparing the first element of a
DoubleDoublePair in ascending order. |
static Comparator<DoubleDoublePair> |
DoubleDoublePair.FIRST_ITEM_DESCENDING_COMPARATOR
Comparator for comparing the first element of a
DoubleDoublePair in descending order. |
static Comparator<DoubleDoublePair> |
DoubleDoublePair.SECOND_ITEM_ASCENDING_COMPARATOR
Comparator for comparing the second element of a
DoubleDoublePair in ascending order. |
static Comparator<DoubleDoublePair> |
DoubleDoublePair.SECOND_ITEM_DESCENDING_COMPARATOR
Comparator for comparing the second element of a
DoubleDoublePair in descending order. |
Modifier and Type | Method and Description |
---|---|
static DoubleDoublePair |
DoubleDoublePair.pair(double a,
double b)
Create a pair from the given values.
|
Modifier and Type | Method and Description |
---|---|
static gnu.trove.list.array.TDoubleArrayList |
DoubleDoublePair.getFirst(Iterable<DoubleDoublePair> data)
Extract the first values from a list of pairs.
|
static gnu.trove.list.array.TDoubleArrayList |
DoubleDoublePair.getSecond(Iterable<DoubleDoublePair> data)
Extract the second values from a list of pairs.
|