|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An IndexedFeatureCollection extends the functionality of FeatureCollection by allowing FeatureIndex attachement.
| Nested Class Summary |
| Nested classes inherited from class org.geotools.feature.Feature |
Feature.NULL |
| Method Summary | |
void |
addIndex(FeatureIndex index)
Adds a FeatureIndex to this collection. |
FeatureIndex |
getIndex(java.lang.Class index)
Look up an index by class. |
java.util.Iterator |
indices()
Get an Iterator containing all of the indices in this collection. |
void |
removeAllIndices()
Removes all indices from this collection. |
void |
removeIndex(FeatureIndex index)
Removes the given FeatureIndex from the collection. |
| Methods inherited from interface org.geotools.feature.FeatureCollection |
accepts, addListener, close, close, features, getFeatureType, getSchema, removeListener, sort, subCollection |
| Methods inherited from interface org.geotools.data.collection.ResourceCollection |
iterator, purge |
| 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 void addIndex(FeatureIndex index)
index - The FeatureIndex to add.
java.lang.NullPointerException - If the index is null.public void removeIndex(FeatureIndex index)
index - The FeatureIndex to remove.
java.lang.NullPointerException - If the index is null.public void removeAllIndices()
public FeatureIndex getIndex(java.lang.Class index)
public java.util.Iterator indices()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||