public class DynObjectIteratorFeatureIteratorFacade extends Object implements DisposableIterator
DynObject
implementation to facade a iterator of a FeatureSet
and allow to be used as a DynObjectSet
iterator.Constructor and Description |
---|
DynObjectIteratorFeatureIteratorFacade(DisposableIterator featureIterator)
Creates a new DynObjects iterator facade over a feature iterator.
|
DynObjectIteratorFeatureIteratorFacade(DisposableIterator featureIterator,
DynObjectFeatureFacade featureFacade)
Creates a new DynObjects iterator facade over a feature iterator.
|
public DynObjectIteratorFeatureIteratorFacade(DisposableIterator featureIterator, DynObjectFeatureFacade featureFacade)
Feature
will be returned through a new or reused
DynObjectFeatureFacade
which allows the Feature
to be
used like a DynObject.featureIterator
- to facadefeatureFacade
- if not null this object will be reused as the facade for the
Feature objects of the feature iteratorpublic DynObjectIteratorFeatureIteratorFacade(DisposableIterator featureIterator)
Feature
will be returned through a new
DynObjectFeatureFacade
which allows the Feature
to be
used like a DynObject.featureIterator
- to facadepublic void dispose()
Disposable
NOTE:After calling this method, the object may not be usable anymore.
dispose
in interface Disposable