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