org.opengis.feature
Interface FeatureIterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidclose()If applicable, closes any connection to a persistent store that backs this iterator.booleanhasNext()Method inherited from Iterator that indicates whether there's another feature available.voidremove()If supported by the underlyingFeatureCollection, invoking this method will remove the last Feature returned byIterator.next().
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws BackingStoreExceptionMethod inherited from Iterator that indicates whether there's another feature available.Because no exceptions are thrown in the Iterator interface, any I/O exceptions that occur while executing this method must be wrapped in a
BackingStoreExceptionbefore being thrown.- Specified by:
hasNextin interfacejava.util.Iterator<Feature>- Throws:
BackingStoreException- If an error occurs while fetching the feature.
-
remove
void remove() throws java.lang.UnsupportedOperationException, BackingStoreExceptionIf supported by the underlyingFeatureCollection, invoking this method will remove the last Feature returned byIterator.next().- Specified by:
removein interfacejava.util.Iterator<Feature>- Throws:
java.lang.UnsupportedOperationException- If removing items is not supported by the underlying collection.BackingStoreException- If an error occurs while removing the feature.
-
close
void close() throws java.io.IOExceptionIf applicable, closes any connection to a persistent store that backs this iterator.- Throws:
java.io.IOException- if an error occurs while closing the iterator.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG