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