Package org.geotools.feature.collection
Class DecoratingSimpleFeatureIterator
- Object
-
- DecoratingFeatureIterator<SimpleFeature>
-
- DecoratingSimpleFeatureIterator
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,SimpleFeatureIterator
,FeatureIterator<SimpleFeature>
- Direct Known Subclasses:
ClippingFeatureIterator
public class DecoratingSimpleFeatureIterator extends DecoratingFeatureIterator<SimpleFeature> implements SimpleFeatureIterator
A feature iterator that completely delegates to a normal Iterator, simply allowing Java 1.4 code to escape the caste (sic) system.This implementation is not suitable for use with collections that make use of system resources. As an alterantive please see ResourceFetaureIterator.
- Author:
- Jody Garnett, Refractions Research, Inc.
-
-
Field Summary
-
Fields inherited from class DecoratingFeatureIterator
delegate
-
-
Constructor Summary
Constructors Constructor Description DecoratingSimpleFeatureIterator(SimpleFeatureIterator iterator)
Wrap the provided iterator up as a FeatureIterator.
-
-
-
Constructor Detail
-
DecoratingSimpleFeatureIterator
public DecoratingSimpleFeatureIterator(SimpleFeatureIterator iterator)
Wrap the provided iterator up as a FeatureIterator.- Parameters:
iterator
- Iterator to be used as a delegate.
-
-