class DoubleIntegerDBIDPair extends java.lang.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()
Internal only: Get the internal index.
|
java.lang.String |
toString() |
protected DoubleIntegerDBIDPair(double value,
int id)
value - Double valueid - DBIDpublic int internalGetIndex()
DBIDRefNOT FOR PUBLIC USE - ELKI Optimization engine only.
internalGetIndex in interface DBIDRefinternalGetIndex in interface IntegerDBIDRefpublic int compareTo(DoubleDBIDPair o)
compareTo in interface java.lang.Comparable<DoubleDBIDPair>public double doubleValue()
DoubleDBIDPairdoubleValue in interface DoubleDBIDPairpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019 ELKI Development Team. License information.