Class 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.
    • Constructor Detail

      • ObservableFeatureCollection

        public ObservableFeatureCollection​(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,​org.opengis.feature.simple.SimpleFeature> collection)
    • Method Detail

      • add

        protected boolean add​(org.opengis.feature.simple.SimpleFeature feature,
                              boolean fire)
        Overrides:
        add in class org.geotools.feature.DefaultFeatureCollection
      • addAll

        public boolean addAll​(Collection<? extends org.opengis.feature.simple.SimpleFeature> collection)
        Specified by:
        addAll in interface Collection<org.opengis.feature.simple.SimpleFeature>
        Overrides:
        addAll in class org.geotools.feature.DefaultFeatureCollection
      • addAll

        public boolean addAll​(org.geotools.feature.FeatureCollection<?,​?> collection)
        Overrides:
        addAll in class org.geotools.feature.DefaultFeatureCollection
      • clear

        public void clear()
        Specified by:
        clear in interface Collection<org.opengis.feature.simple.SimpleFeature>
        Overrides:
        clear in class org.geotools.feature.DefaultFeatureCollection
      • remove

        public boolean remove​(Object o)
        Specified by:
        remove in interface Collection<org.opengis.feature.simple.SimpleFeature>
        Overrides:
        remove in class org.geotools.feature.DefaultFeatureCollection
      • removeAll

        public boolean removeAll​(Collection<?> collection)
        Specified by:
        removeAll in interface Collection<org.opengis.feature.simple.SimpleFeature>
        Overrides:
        removeAll in class org.geotools.feature.DefaultFeatureCollection
      • retainAll

        public boolean retainAll​(Collection<?> collection)
        Specified by:
        retainAll in interface Collection<org.opengis.feature.simple.SimpleFeature>
        Overrides:
        retainAll in class org.geotools.feature.DefaultFeatureCollection
      • getBounds

        public org.geotools.geometry.jts.ReferencedEnvelope getBounds()
        Specified by:
        getBounds in interface org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,​org.opengis.feature.simple.SimpleFeature>
        Overrides:
        getBounds in class org.geotools.feature.DefaultFeatureCollection
      • iterator

        public Iterator<org.opengis.feature.simple.SimpleFeature> iterator()
        Specified by:
        iterator in interface Collection<org.opengis.feature.simple.SimpleFeature>
        Specified by:
        iterator in interface Iterable<org.opengis.feature.simple.SimpleFeature>
        Overrides:
        iterator in class org.geotools.feature.DefaultFeatureCollection