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 enum
static 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 boolean
add
(org.opengis.feature.simple.SimpleFeature feature, boolean fire) boolean
addAll
(Collection<? extends org.opengis.feature.simple.SimpleFeature> collection) boolean
addAll
(org.geotools.feature.FeatureCollection<?, ?> collection) final void
void
clear()
org.geotools.geometry.jts.ReferencedEnvelope
Iterator
<org.opengis.feature.simple.SimpleFeature> iterator()
boolean
boolean
removeAll
(Collection<?> collection) final void
boolean
retainAll
(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, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
add
in classorg.geotools.feature.DefaultFeatureCollection
-
addAll
- Specified by:
addAll
in interfaceCollection<org.opengis.feature.simple.SimpleFeature>
- Overrides:
addAll
in classorg.geotools.feature.DefaultFeatureCollection
-
addAll
public boolean addAll(org.geotools.feature.FeatureCollection<?, ?> collection) - Overrides:
addAll
in classorg.geotools.feature.DefaultFeatureCollection
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<org.opengis.feature.simple.SimpleFeature>
- Overrides:
clear
in classorg.geotools.feature.DefaultFeatureCollection
-
remove
- Specified by:
remove
in interfaceCollection<org.opengis.feature.simple.SimpleFeature>
- Overrides:
remove
in classorg.geotools.feature.DefaultFeatureCollection
-
removeAll
- Specified by:
removeAll
in interfaceCollection<org.opengis.feature.simple.SimpleFeature>
- Overrides:
removeAll
in classorg.geotools.feature.DefaultFeatureCollection
-
retainAll
- Specified by:
retainAll
in interfaceCollection<org.opengis.feature.simple.SimpleFeature>
- Overrides:
retainAll
in classorg.geotools.feature.DefaultFeatureCollection
-
getBounds
public org.geotools.geometry.jts.ReferencedEnvelope getBounds()- Specified by:
getBounds
in interfaceorg.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,
org.opengis.feature.simple.SimpleFeature> - Overrides:
getBounds
in classorg.geotools.feature.DefaultFeatureCollection
-
iterator
- Specified by:
iterator
in interfaceCollection<org.opengis.feature.simple.SimpleFeature>
- Specified by:
iterator
in interfaceIterable<org.opengis.feature.simple.SimpleFeature>
- Overrides:
iterator
in classorg.geotools.feature.DefaultFeatureCollection
-