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