class DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry extends Object implements Comparable<DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry>
Modifier and Type | Field and Description |
---|---|
(package private) double |
distance
Distance value
|
(package private) SpatialEntry |
entry
Referenced entry
|
Constructor and Description |
---|
DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry(SpatialEntry entry,
double distance)
Constructor.
|
SpatialEntry entry
double distance
public DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry(SpatialEntry entry, double distance)
entry
- Entrydistance
- Distancepublic int compareTo(DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry o)
compareTo
in interface Comparable<DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry>