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