|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A list of Features. Allows getting and setting of Features at an index.
Nested Class Summary |
Nested classes inherited from class org.geotools.feature.Feature |
Feature.NULL |
Method Summary | |
Feature |
getFeature(int idx)
Returns the feature at the specified index of the list. |
void |
setFeature(int idx,
Feature f)
Replaces the element at the specified position in this list with the specified element. |
Methods inherited from interface org.geotools.feature.FeatureCollection |
addListener, close, close, features, getFeatureType, getSchema, iterator, removeListener |
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 |
Method Detail |
public Feature getFeature(int idx)
idx
- the index of the feature to return.
public void setFeature(int idx, Feature f)
idx
- index of feature to replace.f
- feature to be stored at the specified position.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |