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