Package | Description |
---|---|
org.openimaj.util.pair |
Modifier and Type | Field and Description |
---|---|
static Comparator<ObjectBytePair<?>> |
ObjectBytePair.SECOND_ITEM_ASCENDING_COMPARATOR
Comparator for comparing the second element of a
ObjectBytePair in ascending order. |
static Comparator<ObjectBytePair<?>> |
ObjectBytePair.SECOND_ITEM_DESCENDING_COMPARATOR
Comparator for comparing the second element of a
ObjectBytePair in descending order. |
Modifier and Type | Method and Description |
---|---|
static <Q> ObjectBytePair<Q> |
ObjectBytePair.pair(Q q,
byte t)
Create a pair from the given objects.
|
Modifier and Type | Method and Description |
---|---|
static <Q> List<Q> |
ObjectBytePair.getFirst(Iterable<ObjectBytePair<Q>> data)
Extract the first objects from a list of pairs.
|
static <Q> gnu.trove.list.array.TByteArrayList |
ObjectBytePair.getSecond(Iterable<ObjectBytePair<Q>> data)
Extract the second objects from a list of pairs.
|