
class DoubleIntegerDBIDPair extends Object implements DoubleDBIDPair, IntegerDBIDRef
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
id
The DB id.
|
(package private) double |
value
The double value.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DoubleIntegerDBIDPair(double value,
int id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DoubleDBIDPair o) |
double |
doubleValue()
Get the double value of the pair.
|
int |
internalGetIndex()
Get the internal index.
|
String |
toString() |
protected DoubleIntegerDBIDPair(double value,
int id)
value - Double valueid - DBIDpublic int internalGetIndex()
DBIDRefinternalGetIndex in interface DBIDRefinternalGetIndex in interface IntegerDBIDRefpublic int compareTo(DoubleDBIDPair o)
compareTo in interface Comparable<DoubleDBIDPair>public double doubleValue()
DoubleDBIDPairdoubleValue in interface DoubleDBIDPairCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.