|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractCollection<E>
AbstractList<E>
ArrayList<Feature>
SampleDataAccessFeatureCollection
public class SampleDataAccessFeatureCollection
Collection of features from a SampleDataAccess
.
Field Summary |
---|
Fields inherited from class AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
SampleDataAccessFeatureCollection()
|
Method Summary | |
---|---|
void |
accepts(FeatureVisitor visitor,
ProgressListener progress)
Visit the contents of a feature collection. |
FeatureIterator<Feature> |
features()
Get an iterator over the features. |
ReferencedEnvelope |
getBounds()
Not yet implemented. |
String |
getID()
Not yet implemented. |
FeatureType |
getSchema()
Return type of features. |
FeatureCollection<FeatureType,Feature> |
sort(SortBy order)
Unsupported operation. |
FeatureCollection<FeatureType,Feature> |
subCollection(Filter filter)
Unsupported operation. |
Methods inherited from class ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface FeatureCollection |
---|
contains, containsAll, isEmpty, size, toArray, toArray |
Methods inherited from interface List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public SampleDataAccessFeatureCollection()
Method Detail |
---|
public void accepts(FeatureVisitor visitor, ProgressListener progress) throws IOException
FeatureCollection
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.
accepts
in interface FeatureCollection<FeatureType,Feature>
visitor
- Closure applied to each feature in turn.progress
- Used to report progress, may be used to interrupt the operation
IOException
FeatureCollection.accepts(org.opengis.feature.FeatureVisitor,
org.opengis.util.ProgressListener)
public FeatureIterator<Feature> features()
features
in interface FeatureCollection<FeatureType,Feature>
FeatureCollection.features()
public ReferencedEnvelope getBounds()
getBounds
in interface FeatureCollection<FeatureType,Feature>
FeatureCollection.getBounds()
public String getID()
getID
in interface FeatureCollection<FeatureType,Feature>
FeatureCollection.getID()
public FeatureType getSchema()
getSchema
in interface FeatureCollection<FeatureType,Feature>
FeatureCollection.getSchema()
public FeatureCollection<FeatureType,Feature> sort(SortBy order)
sort
in interface FeatureCollection<FeatureType,Feature>
order
- Sort order
FeatureCollection.sort(org.opengis.filter.sort.SortBy)
public FeatureCollection<FeatureType,Feature> subCollection(Filter filter)
subCollection
in interface FeatureCollection<FeatureType,Feature>
FeatureCollection.subCollection(org.opengis.filter.Filter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |