Package org.geotools.feature.collection
Class SimpleFeatureIteratorImpl
- Object
-
- FeatureIteratorImpl<SimpleFeature>
-
- 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
Constructors Constructor Description SimpleFeatureIteratorImpl(Collection<SimpleFeature> collection)
Create a new SimpleFeatureIterator using the Iterator from the given FeatureCollection.
-
-
-
Constructor Detail
-
SimpleFeatureIteratorImpl
public SimpleFeatureIteratorImpl(Collection<SimpleFeature> collection)
Create a new SimpleFeatureIterator using the Iterator from the given FeatureCollection.- Parameters:
collection
- The SimpleFeatureCollection to perform the iteration on.
-
-