Package | Description |
---|---|
org.openimaj.util.pair |
Modifier and Type | Method and Description |
---|---|
static <Q> ShortObjectPair<Q> |
ShortObjectPair.pair(short t,
Q q)
Create a pair from the given objects.
|
Modifier and Type | Method and Description |
---|---|
static <Q> gnu.trove.list.array.TShortArrayList |
ShortObjectPair.getFirst(Iterable<ShortObjectPair<Q>> data)
Extract the first objects from a list of pairs.
|
static <Q> List<Q> |
ShortObjectPair.getSecond(Iterable<ShortObjectPair<Q>> data)
Extract the second objects from a list of pairs.
|