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()
DBIDRef
internalGetIndex
in interface DBIDRef
internalGetIndex
in interface IntegerDBIDRef
public int compareTo(DoubleDBIDPair o)
compareTo
in interface Comparable<DoubleDBIDPair>
public double doubleValue()
DoubleDBIDPair
doubleValue
in interface DoubleDBIDPair
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.