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