Package | Description |
---|---|
de.lmu.ifi.dbs.elki.utilities.pairs |
Pairs and triples utility classes.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<IntDoublePair> |
IntDoublePair.BYFIRST_COMPARATOR
Comparator to compare by second component only
|
static Comparator<IntDoublePair> |
IntDoublePair.BYSECOND_COMPARATOR
Comparator to compare by second component only
|
static Comparator<IntDoublePair> |
IntDoublePair.SWAPPED_COMPARATOR
Comparator to compare by swapped components
|
Modifier and Type | Method and Description |
---|---|
int |
IntDoublePair.compareSwappedTo(IntDoublePair other)
Implementation of comparableSwapped interface, sorting by second then
first.
|
int |
IntDoublePair.compareTo(IntDoublePair other)
Implementation of comparable interface, sorting by first then second.
|