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