|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<Data>
org.geotools.index.quadtree.LazySearchCollection
public class LazySearchCollection
A collection that will open and close the QuadTree and find the next id in the index.
Constructor Summary | |
---|---|
LazySearchCollection(QuadTree tree,
com.vividsolutions.jts.geom.Envelope bounds)
|
Method Summary | |
---|---|
void |
close()
Close the collection so it cleans up its resources |
void |
closeIterator(java.util.Iterator<Data> iter)
Close the collection so it cleans up its resources |
boolean |
isEmpty()
|
java.util.Iterator<Data> |
iterator()
|
int |
size()
|
Methods inherited from class java.util.AbstractCollection |
---|
add, addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, remove, removeAll, retainAll, toArray, toArray |
Constructor Detail |
---|
public LazySearchCollection(QuadTree tree, com.vividsolutions.jts.geom.Envelope bounds)
Method Detail |
---|
public java.util.Iterator<Data> iterator()
iterator
in interface java.lang.Iterable<Data>
iterator
in interface java.util.Collection<Data>
iterator
in class java.util.AbstractCollection<Data>
public int size()
size
in interface java.util.Collection<Data>
size
in class java.util.AbstractCollection<Data>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<Data>
isEmpty
in class java.util.AbstractCollection<Data>
public void close()
CloseableCollection
close
in interface CloseableCollection<Data>
public void closeIterator(java.util.Iterator<Data> iter) throws java.io.IOException
CloseableCollection
closeIterator
in interface CloseableCollection<Data>
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |