Package org.tinspin.index.qthypercube2
Class QIterator1<T>
- java.lang.Object
-
- org.tinspin.index.qthypercube2.QIterator1<T>
-
- Type Parameters:
T- Value type
- All Implemented Interfaces:
Iterator<PointEntry<T>>,QueryIterator<PointEntry<T>>
public class QIterator1<T> extends Object implements QueryIterator<PointEntry<T>>
Resettable query iterator.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()QEntry<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
-
-