|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FeatureCollection
A collection of Features, with a special method for querying the Features that lie within a given Envelope.
| Method Summary | |
|---|---|
void |
add(Feature feature)
Adds a feature to this collection. |
void |
addAll(java.util.Collection features)
Adds multiple features to this collection. |
void |
clear()
Removes all features from this collection. |
com.vividsolutions.jts.geom.Envelope |
getEnvelope()
Returns the bounds of this collection. |
java.util.List |
getFeatures()
Returns an unmodifiable List of the features in this collection |
FeatureSchema |
getFeatureSchema()
Returns information about this FeatureCollection |
boolean |
isEmpty()
Returns whether this collection has no features. |
java.util.Iterator |
iterator()
Returns an Iterator over the features |
java.util.List |
query(com.vividsolutions.jts.geom.Envelope envelope)
A quick search for features, using an envelope comparison. |
java.util.Collection |
remove(com.vividsolutions.jts.geom.Envelope env)
Removes the features which intersect the given envelope |
void |
remove(Feature feature)
Removes a feature from this collection. |
void |
removeAll(java.util.Collection features)
Removes multiple features from this collection. |
int |
size()
Returns the number of features in this collection. |
| Method Detail |
|---|
FeatureSchema getFeatureSchema()
com.vividsolutions.jts.geom.Envelope getEnvelope()
int size()
boolean isEmpty()
java.util.List getFeatures()
java.util.Iterator iterator()
java.util.List query(com.vividsolutions.jts.geom.Envelope envelope)
envelope - the envelope to query against
void add(Feature feature)
feature - a Feature to add to the end of this collectionvoid addAll(java.util.Collection features)
void removeAll(java.util.Collection features)
void remove(Feature feature)
feature - a Feature to remove from this collectionvoid clear()
java.util.Collection remove(com.vividsolutions.jts.geom.Envelope env)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||