| java.lang.Object | |
| ↳ | com.carto.geometry.FeatureCollection |
Known Direct Subclasses
|
A collection of features.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
FeatureCollection(FeatureVector features)
Constructs a FeatureCollection from a vector of features.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| Feature |
getFeature(int index)
Returns the feature at the specified index.
| ||||||||||
| int |
getFeatureCount()
Returns the number of features in this container.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a FeatureCollection from a vector of features.
| features | The features for the collection. |
|---|
Returns the feature at the specified index. Index must be between 0 and getFeatureCount (exclusive).
| index | The index of the feature to get. |
|---|
| IndexOutOfBoundsException | If the index is out of range. |
|---|
Returns the number of features in this container.