Package org.geotools.feature.collection
Class SimpleFeatureIteratorImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,SimpleFeatureIterator
,FeatureIterator<SimpleFeature>
public class SimpleFeatureIteratorImpl
extends FeatureIteratorImpl<SimpleFeature>
implements SimpleFeatureIterator
A convenience class for wrapping a Collection Iterator up as a SimpleFeatureCollection.
Note this does not implement Iterator (FeatureIterator is a separate class).
- Author:
- Ian Schneider
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleFeatureIteratorImpl
(Collection<SimpleFeature> collection) Create a new SimpleFeatureIterator using the Iterator from the given FeatureCollection. -
Method Summary
Methods inherited from class FeatureIteratorImpl
close, hasNext, next
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface FeatureIterator
close, hasNext, next
-
Constructor Details
-
SimpleFeatureIteratorImpl
Create a new SimpleFeatureIterator using the Iterator from the given FeatureCollection.- Parameters:
collection
- The SimpleFeatureCollection to perform the iteration on.
-