T - F - public abstract class ProcessingCollection<T extends FeatureType,F extends Feature> extends BaseFeatureCollection<T,F>
Besides the few methods that the implementor actually needs to override it suggested to consider overriding also the followings to get extra performance gains:
id, schema| Constructor and Description |
|---|
ProcessingCollection() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
buildTargetFeatureType()
Builds once and for all the target feature type.
|
abstract FeatureIterator<F> |
features()
Streams out the output features
|
abstract ReferencedEnvelope |
getBounds()
The bounds of features in the output.
|
T |
getSchema()
The schema for the child feature members of this collection.
|
abstract int |
size()
The number of features in the output.
|
accepts, contains, containsAll, getID, isEmpty, sort, subCollection, toArray, toArraypublic abstract FeatureIterator<F> features()
features in interface FeatureCollection<T extends FeatureType,F extends Feature>features in class BaseFeatureCollection<T extends FeatureType,F extends Feature>public abstract ReferencedEnvelope getBounds()
getBounds in interface FeatureCollection<T extends FeatureType,F extends Feature>getBounds in class BaseFeatureCollection<T extends FeatureType,F extends Feature>protected abstract T buildTargetFeatureType()
public abstract int size()
size in interface FeatureCollection<T extends FeatureType,F extends Feature>size in class BaseFeatureCollection<T extends FeatureType,F extends Feature>Collection.size()public T getSchema()
FeatureCollectionRepresents the most general FeatureType in common to all the features in this collection.
getSchema in interface FeatureCollection<T extends FeatureType,F extends Feature>getSchema in class BaseFeatureCollection<T extends FeatureType,F extends Feature>Copyright © 1996–2021 Geotools. All rights reserved.