Package org.tinspin.index.qthypercube2
Class QEntryDist<T>
- java.lang.Object
-
- org.tinspin.index.qthypercube2.QEntry<T>
-
- org.tinspin.index.qthypercube2.QEntryDist<T>
-
- All Implemented Interfaces:
PointEntry<T>,PointEntryDist<T>
public class QEntryDist<T> extends QEntry<T> implements PointEntryDist<T>
-
-
Field Summary
Fields Modifier and Type Field Description static org.tinspin.index.qthypercube2.QEntryDist.QEntryComparatorCOMP
-
Constructor Summary
Constructors Constructor Description QEntryDist(QEntry<T> e, double dist)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubledist()An entry with distance property.-
Methods inherited from class org.tinspin.index.qthypercube2.QEntry
isExact, point, setKey, toString, value
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.tinspin.index.PointEntry
point, value
-
-
-
-
Method Detail
-
dist
public double dist()
Description copied from interface:PointEntryDistAn entry with distance property. This is, for example, used as a return value for nearest neighbour queries.- Specified by:
distin interfacePointEntryDist<T>- Returns:
- the distance
-
-