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