public interface Feature extends java.lang.Iterable<EarthLocation>
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(int index)
Gets the value of the specified attribute.
|
int |
getAttributeCount()
Gets the number of attributes.
|
java.util.Iterator<EarthLocation> |
iterator()
Gets an iterator over the points associated with this feature.
|
java.lang.Object getAttribute(int index)
index
- the index of the attribute to get.java.lang.IndexOutOfBoundsException
- if the attribute index is invalid.int getAttributeCount()
java.util.Iterator<EarthLocation> iterator()
iterator
in interface java.lang.Iterable<EarthLocation>