|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.feature.FeatureReaderIterator<F>
public class FeatureReaderIterator<F extends org.opengis.feature.Feature>
An iterator that wraps around a FeatureReader. The Iterator's hasNext() will return false if the wrapped feature reader's hasNext method throws an exception. If next() throws an exeption a NoSuchElementException will be thrown.
Constructor Summary | |
---|---|
FeatureReaderIterator(FeatureReader<? extends org.opengis.feature.type.FeatureType,F> reader)
|
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNext()
|
F |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeatureReaderIterator(FeatureReader<? extends org.opengis.feature.type.FeatureType,F> reader)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<F extends org.opengis.feature.Feature>
public F next()
next
in interface java.util.Iterator<F extends org.opengis.feature.Feature>
public void remove()
remove
in interface java.util.Iterator<F extends org.opengis.feature.Feature>
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |