Package org.esa.snap.core.util
Class ObservableFeatureCollection
java.lang.Object
org.geotools.feature.DefaultFeatureCollection
org.esa.snap.core.util.ObservableFeatureCollection
- All Implemented Interfaces:
Iterable<org.opengis.feature.simple.SimpleFeature>,Collection<org.opengis.feature.simple.SimpleFeature>,org.geotools.data.simple.SimpleFeatureCollection,org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
public class ObservableFeatureCollection
extends org.geotools.feature.DefaultFeatureCollection
The class does not belong to the public API, only for internal Use.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic interface -
Field Summary
Fields inherited from class org.geotools.feature.DefaultFeatureCollection
id, LOGGER, schema -
Constructor Summary
ConstructorsConstructorDescriptionObservableFeatureCollection(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType, org.opengis.feature.simple.SimpleFeature> collection) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanadd(org.opengis.feature.simple.SimpleFeature feature, boolean fire) booleanaddAll(Collection<? extends org.opengis.feature.simple.SimpleFeature> collection) booleanaddAll(org.geotools.feature.FeatureCollection<?, ?> collection) final voidvoidclear()org.geotools.geometry.jts.ReferencedEnvelopeIterator<org.opengis.feature.simple.SimpleFeature> iterator()booleanbooleanremoveAll(Collection<?> collection) final voidbooleanretainAll(Collection<?> collection) Methods inherited from class org.geotools.feature.DefaultFeatureCollection
accepts, add, close, collection, contains, containsAll, features, fids, getCount, getID, getSchema, isEmpty, purge, reader, size, sort, subCollection, toArray, toArray, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ObservableFeatureCollection
public ObservableFeatureCollection(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType, org.opengis.feature.simple.SimpleFeature> collection)
-
-
Method Details
-
addListener
-
removeListener
-
add
protected boolean add(org.opengis.feature.simple.SimpleFeature feature, boolean fire) - Overrides:
addin classorg.geotools.feature.DefaultFeatureCollection
-
addAll
- Specified by:
addAllin interfaceCollection<org.opengis.feature.simple.SimpleFeature>- Overrides:
addAllin classorg.geotools.feature.DefaultFeatureCollection
-
addAll
public boolean addAll(org.geotools.feature.FeatureCollection<?, ?> collection) - Overrides:
addAllin classorg.geotools.feature.DefaultFeatureCollection
-
clear
public void clear()- Specified by:
clearin interfaceCollection<org.opengis.feature.simple.SimpleFeature>- Overrides:
clearin classorg.geotools.feature.DefaultFeatureCollection
-
remove
- Specified by:
removein interfaceCollection<org.opengis.feature.simple.SimpleFeature>- Overrides:
removein classorg.geotools.feature.DefaultFeatureCollection
-
removeAll
- Specified by:
removeAllin interfaceCollection<org.opengis.feature.simple.SimpleFeature>- Overrides:
removeAllin classorg.geotools.feature.DefaultFeatureCollection
-
retainAll
- Specified by:
retainAllin interfaceCollection<org.opengis.feature.simple.SimpleFeature>- Overrides:
retainAllin classorg.geotools.feature.DefaultFeatureCollection
-
getBounds
public org.geotools.geometry.jts.ReferencedEnvelope getBounds()- Specified by:
getBoundsin interfaceorg.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> - Overrides:
getBoundsin classorg.geotools.feature.DefaultFeatureCollection
-
iterator
- Specified by:
iteratorin interfaceCollection<org.opengis.feature.simple.SimpleFeature>- Specified by:
iteratorin interfaceIterable<org.opengis.feature.simple.SimpleFeature>- Overrides:
iteratorin classorg.geotools.feature.DefaultFeatureCollection
-