public class ObservableFeatureCollection
extends org.geotools.feature.DefaultFeatureCollection
Modifier and Type | Class and Description |
---|---|
static class |
ObservableFeatureCollection.EVENT_TYPE |
static interface |
ObservableFeatureCollection.Listener |
Constructor and Description |
---|
ObservableFeatureCollection(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> collection) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
void |
addListener(ObservableFeatureCollection.Listener listener) |
void |
clear() |
org.geotools.geometry.jts.ReferencedEnvelope |
getBounds() |
Iterator<org.opengis.feature.simple.SimpleFeature> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
void |
removeListener(ObservableFeatureCollection.Listener listener) |
boolean |
retainAll(Collection<?> collection) |
accepts, add, close, collection, contains, containsAll, features, fids, getCount, getID, getSchema, isEmpty, purge, reader, size, sort, subCollection, toArray, toArray, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public ObservableFeatureCollection(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> collection)
public final void addListener(ObservableFeatureCollection.Listener listener)
public final void removeListener(ObservableFeatureCollection.Listener listener)
protected boolean add(org.opengis.feature.simple.SimpleFeature feature, boolean fire)
add
in class org.geotools.feature.DefaultFeatureCollection
public boolean addAll(Collection<? extends org.opengis.feature.simple.SimpleFeature> collection)
addAll
in interface Collection<org.opengis.feature.simple.SimpleFeature>
addAll
in class org.geotools.feature.DefaultFeatureCollection
public boolean addAll(org.geotools.feature.FeatureCollection<?,?> collection)
addAll
in class org.geotools.feature.DefaultFeatureCollection
public void clear()
clear
in interface Collection<org.opengis.feature.simple.SimpleFeature>
clear
in class org.geotools.feature.DefaultFeatureCollection
public boolean remove(Object o)
remove
in interface Collection<org.opengis.feature.simple.SimpleFeature>
remove
in class org.geotools.feature.DefaultFeatureCollection
public boolean removeAll(Collection<?> collection)
removeAll
in interface Collection<org.opengis.feature.simple.SimpleFeature>
removeAll
in class org.geotools.feature.DefaultFeatureCollection
public boolean retainAll(Collection<?> collection)
retainAll
in interface Collection<org.opengis.feature.simple.SimpleFeature>
retainAll
in class org.geotools.feature.DefaultFeatureCollection
public org.geotools.geometry.jts.ReferencedEnvelope getBounds()
getBounds
in interface org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
getBounds
in class org.geotools.feature.DefaultFeatureCollection
public Iterator<org.opengis.feature.simple.SimpleFeature> iterator()
iterator
in interface Iterable<org.opengis.feature.simple.SimpleFeature>
iterator
in interface Collection<org.opengis.feature.simple.SimpleFeature>
iterator
in class org.geotools.feature.DefaultFeatureCollection
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.