Package org.tinspin.index.qtplain
Class QREntryDist<T>
- java.lang.Object
-
- org.tinspin.index.qtplain.QREntry<T>
-
- org.tinspin.index.qtplain.QREntryDist<T>
-
- All Implemented Interfaces:
RectangleEntry<T>,RectangleEntryDist<T>
public class QREntryDist<T> extends QREntry<T> implements RectangleEntryDist<T>
-
-
Field Summary
Fields Modifier and Type Field Description static org.tinspin.index.qtplain.QREntryDist.QEntryComparatorCOMP
-
Constructor Summary
Constructors Constructor Description QREntryDist(QREntry<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.qtplain.QREntry
isExact, lower, setKey, toString, upper, 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.RectangleEntry
lower, upper, value
-
-
-
-
Method Detail
-
dist
public double dist()
Description copied from interface:RectangleEntryDistAn entry with distance property. This is, for example, used as a return value for nearest neighbor queries.- Specified by:
distin interfaceRectangleEntryDist<T>- Returns:
- the distance
-
-