Class SampleDataAccessFeatureCollection
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Feature>,Collection<Feature>,List<Feature>,RandomAccess,FeatureCollection<FeatureType,Feature>
public class SampleDataAccessFeatureCollection
extends ArrayList<Feature>
implements FeatureCollection<FeatureType,Feature>
Collection of features from a
SampleDataAccess.- Since:
- 2.6
- Author:
- Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)
- See Also:
-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccepts(FeatureVisitor visitor, ProgressListener progress) Visit the contents of a feature collection.features()Get an iterator over the features.Not yet implemented.getID()Not yet implemented.Return type of features.Unsupported operation.subCollection(Filter filter) Unsupported operation.Methods inherited from class ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface FeatureCollection
contains, containsAll, isEmpty, size, toArray, toArrayMethods inherited from interface List
containsAll
-
Constructor Details
-
SampleDataAccessFeatureCollection
public SampleDataAccessFeatureCollection()
-
-
Method Details
-
accepts
Description copied from interface:FeatureCollectionVisit the contents of a feature collection.The order of traversal is dependent on the FeatureCollection implementation; some collections are able to make efficient use of an internal index in order to quickly visit features located in the same region.
- Specified by:
acceptsin interfaceFeatureCollection<FeatureType,Feature> - Parameters:
visitor- Closure applied to each feature in turn.progress- Used to report progress, may be used to interrupt the operation- Throws:
IOException- See Also:
-
features
Get an iterator over the features.- Specified by:
featuresin interfaceFeatureCollection<FeatureType,Feature> - Returns:
- A FeatureIterator.
- See Also:
-
getBounds
Not yet implemented.- Specified by:
getBoundsin interfaceFeatureCollection<FeatureType,Feature> - Returns:
- An Envelope containing the total bounds of this collection.
- See Also:
-
getID
Not yet implemented.- Specified by:
getIDin interfaceFeatureCollection<FeatureType,Feature> - See Also:
-
getSchema
Return type of features.- Specified by:
getSchemain interfaceFeatureCollection<FeatureType,Feature> - Returns:
- FeatureType describing the "common" schema to all child features of this collection
- See Also:
-
sort
Unsupported operation.- Specified by:
sortin interfaceFeatureCollection<FeatureType,Feature> - Parameters:
order- Sort order- Returns:
- FeatureCollection sorted in the indicated order
- See Also:
-
subCollection
Unsupported operation.- Specified by:
subCollectionin interfaceFeatureCollection<FeatureType,Feature> - Returns:
- SimpleFeatureCollection identified as subset.
- See Also:
-