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