Package org.tinspin.index.phtree
Class EntryR<T>
- java.lang.Object
-
- org.tinspin.index.phtree.EntryR<T>
-
- All Implemented Interfaces:
RectangleEntry<T>
- Direct Known Subclasses:
DistEntryR
public class EntryR<T> extends Object implements RectangleEntry<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]lower()voidset(double[] lower, double[] upper, T val)StringtoString()double[]upper()Tvalue()
-
-
-
Constructor Detail
-
EntryR
public EntryR(double[] min, double[] max, T val)
-
-
Method Detail
-
lower
public double[] lower()
- Specified by:
lowerin interfaceRectangleEntry<T>- Returns:
- The lower left corner of the entry.
-
upper
public double[] upper()
- Specified by:
upperin interfaceRectangleEntry<T>- Returns:
- The upper right corner of the entry.
-
value
public T value()
- Specified by:
valuein interfaceRectangleEntry<T>- Returns:
- The value associated with the rectangle or point.
-
set
public void set(double[] lower, double[] upper, T val)
-
-