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