|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.index.quadtree.LazySearchIterator
public class LazySearchIterator
Iterator that search the quad tree depth first. 32000 indices are cached at a time and each time a node is visited the indices are removed from the node so that the memory footprint is kept small. Note that if other iterators operate on the same tree then they can interfere with each other.
Constructor Summary | |
---|---|
LazySearchIterator(Node root,
IndexFile indexfile,
com.vividsolutions.jts.geom.Envelope bounds)
|
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNext()
|
Data |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LazySearchIterator(Node root, IndexFile indexfile, com.vividsolutions.jts.geom.Envelope bounds)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<Data>
public Data next()
next
in interface java.util.Iterator<Data>
public void remove()
remove
in interface java.util.Iterator<Data>
public void close() throws StoreException
StoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |