Package org.tinspin.index
Interface Index.QueryIterator<T>
-
- All Superinterfaces:
Iterator<T>
- All Known Subinterfaces:
Index.BoxIterator<T>,Index.PointIterator<T>
- All Known Implementing Classes:
BoxIteratorWrapper,KDIterator,PointIteratorWrapper,QIterator0,QIterator0,QIterator1,QIterator1,QIterator2,QIterator2,QRIterator,QuadTreeKD0.QIterator,QuadTreeRKD0.QRIterator,RTreeIterator
- Enclosing interface:
- Index
public static interface Index.QueryIterator<T> extends Iterator<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Index.QueryIterator<T>reset(double[] point1, double[] point2)This method resets an iterator.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
reset
Index.QueryIterator<T> reset(double[] point1, double[] point2)
This method resets an iterator. The arguments determin new iterator properties: - For Extent iterators, see e.g.PointMap.iterator(), both arguments must be `null`. - For point query iterators, see e.g.PointMultimap.queryExactPoint(double[]), the first argument is the new query point and the second argument must be `null`. - For window queries, see e.g.PointMap.query(double[], double[]), the arguments are the min/max corners of the new query window.- Parameters:
point1- point or `null`point2- point or `null`- Returns:
- this iterator after reset.
-
-