org.geotools.feature
Class AbstractFeatureCollection

java.lang.Object
  extended byorg.geotools.feature.collection.AbstractResourceCollection
      extended byorg.geotools.feature.AbstractFeatureCollection
All Implemented Interfaces:
java.util.Collection, Feature, FeatureCollection, FeatureResults, ResourceCollection

Deprecated. Unused, moved to org.geotools.feature.collection

public abstract class AbstractFeatureCollection
extends AbstractResourceCollection
implements FeatureCollection

Helper methods to get us started on the implementation road for FeatureCollections.

Most of the origional content of this class has moved to AbstractResourceCollection and/or FeatureDelegate.

Since:
2.1.RC0
Author:
Jody Garnett, Refractions Research, Inc.

Nested Class Summary
 
Nested classes inherited from class org.geotools.feature.Feature
Feature.NULL
 
Field Summary
 
Fields inherited from class org.geotools.feature.collection.AbstractResourceCollection
open
 
Constructor Summary
AbstractFeatureCollection()
          Deprecated.  
 
Method Summary
 void close(FeatureIterator close)
          Deprecated. will close() the provided FeatureIterator
 FeatureIterator features()
          Deprecated. Default implementation based on DelegateFeatureIterator
 
Methods inherited from class org.geotools.feature.collection.AbstractResourceCollection
add, addAll, clear, close, closeIterator, contains, containsAll, isEmpty, iterator, openIterator, purge, remove, removeAll, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.geotools.feature.FeatureCollection
accepts, addListener, close, getFeatureType, getSchema, removeListener, sort, subCollection
 
Methods inherited from interface org.geotools.data.collection.ResourceCollection
iterator, purge
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface org.geotools.data.FeatureResults
collection, getBounds, getCount, reader
 
Methods inherited from interface org.geotools.feature.Feature
getAttribute, getAttribute, getAttributes, getBounds, getDefaultGeometry, getID, getNumberOfAttributes, getParent, setAttribute, setAttribute, setDefaultGeometry, setParent
 

Constructor Detail

AbstractFeatureCollection

public AbstractFeatureCollection()
Deprecated. 
Method Detail

features

public FeatureIterator features()
Deprecated. 
Default implementation based on DelegateFeatureIterator

Specified by:
features in interface FeatureCollection
Returns:
A FeatureIterator.

close

public void close(FeatureIterator close)
Deprecated. 
will close() the provided FeatureIterator

Specified by:
close in interface FeatureCollection


Copyright © GeoTools. All Rights Reserved.