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