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 TypeMethodDescriptionvoid
accepts
(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, trimToSize
Methods inherited from class AbstractCollection
containsAll, toString
Methods inherited from interface Collection
parallelStream, stream, toArray
Methods inherited from interface FeatureCollection
contains, containsAll, isEmpty, size, toArray, toArray
Methods inherited from interface List
containsAll
-
Constructor Details
-
SampleDataAccessFeatureCollection
public SampleDataAccessFeatureCollection()
-
-
Method Details
-
accepts
Description copied from interface:FeatureCollection
Visit 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:
accepts
in 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:
features
in interfaceFeatureCollection<FeatureType,
Feature> - Returns:
- A FeatureIterator.
- See Also:
-
getBounds
Not yet implemented.- Specified by:
getBounds
in interfaceFeatureCollection<FeatureType,
Feature> - Returns:
- An Envelope containing the total bounds of this collection.
- See Also:
-
getID
Not yet implemented.- Specified by:
getID
in interfaceFeatureCollection<FeatureType,
Feature> - See Also:
-
getSchema
Return type of features.- Specified by:
getSchema
in interfaceFeatureCollection<FeatureType,
Feature> - Returns:
- FeatureType describing the "common" schema to all child features of this collection
- See Also:
-
sort
Unsupported operation.- Specified by:
sort
in interfaceFeatureCollection<FeatureType,
Feature> - Parameters:
order
- Sort order- Returns:
- FeatureCollection sorted in the indicated order
- See Also:
-
subCollection
Unsupported operation.- Specified by:
subCollection
in interfaceFeatureCollection<FeatureType,
Feature> - Returns:
- SimpleFeatureCollection identified as subset.
- See Also:
-