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