|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeatureCollection
Method Summary | |
---|---|
void |
add(Feature feature)
adds a feature to the collection |
void |
addAllUncontained(Feature[] features)
adds a list of features to the collection |
void |
addAllUncontained(FeatureCollection featureCollection)
Adds the features to the collection, if they're not already contained. |
void |
clear()
removes all features from a collection |
Feature |
getFeature(int index)
|
Feature |
getFeature(String id)
|
Iterator<Feature> |
iterator()
returns an Iterator on the feature contained in a collection |
Feature |
remove(Feature feature)
removes the submitted feature from the collection |
Feature |
remove(int index)
removes the feature at the submitted index from the collection |
Feature |
remove(String id)
removes the feature that is assigned to the submitted id. |
int |
size()
|
Feature[] |
toArray()
|
Methods inherited from interface org.deegree.model.feature.Feature |
---|
addProperty, clone, cloneDeep, getAttribute, getAttributes, getBoundedBy, getDefaultGeometryPropertyValue, getDefaultProperty, getDefaultProperty, getFeatureType, getGeometryPropertyValues, getId, getName, getOwner, getProperties, getProperties, removeProperty, replaceProperty, setAttribute, setEnvelopesUpdated, setFeatureType, setId, setProperty |
Method Detail |
---|
void clear()
Feature getFeature(int index)
index
- of the feature.
Feature getFeature(String id)
id
- of the feature
null
will be returned.Feature[] toArray()
Iterator<Feature> iterator()
void add(Feature feature)
feature
- to add.void addAllUncontained(Feature[] features)
features
- to add.void addAllUncontained(FeatureCollection featureCollection)
featureCollection
- Feature remove(Feature feature)
feature
- to remove
Feature remove(int index)
index
- of the feature to remove.
Feature remove(String id)
id
- of the feature to remove.
int size()
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org