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