Package org.tinspin.index.qtplain
Class QuadTreeRKD0.QRIterator<T>
- java.lang.Object
-
- org.tinspin.index.qtplain.QuadTreeRKD0.QRIterator<T>
-
- Type Parameters:
T- Value type
- All Implemented Interfaces:
Iterator<RectangleEntry<T>>,QueryIterator<RectangleEntry<T>>
- Enclosing class:
- QuadTreeRKD0<T>
public static class QuadTreeRKD0.QRIterator<T> extends Object implements QueryIterator<RectangleEntry<T>>
Resetable query iterator.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()QREntry<T>next()voidreset(double[] min, double[] max)Reset the iterator.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
reset
public void reset(double[] min, double[] max)Reset the iterator. This iterator can be reused in order to reduce load on the garbage collector.- Specified by:
resetin interfaceQueryIterator<T>- Parameters:
min- lower left corner of querymax- upper right corner of query
-
-