
class IntegerDoubleDBIDPair 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 |
IntegerDoubleDBIDPair(double value,
int id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DoubleDBIDPair o) |
double |
doubleValue()
Get the double value of the pair.
|
Double |
getFirst()
Deprecated.
|
DBID |
getSecond()
Deprecated.
|
int |
internalGetIndex()
Get the internal index.
|
protected IntegerDoubleDBIDPair(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 DoubleDBIDPair@Deprecated public Double getFirst()
DoubleDBIDPairgetFirst in interface DoubleDBIDPairgetFirst in interface PairInterface<Double,DBID>@Deprecated public DBID getSecond()
DoubleDBIDPairgetSecond in interface DoubleDBIDPairgetSecond in interface PairInterface<Double,DBID>