Package noaa.coastwatch.render.feature
Interface Feature
- All Superinterfaces:
Iterable<EarthLocation>
- All Known Implementing Classes:
AbstractFeature
,LineFeature
,PointFeature
,PolygonFeature
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(int index) Gets the value of the specified attribute.int
Gets the number of attributes.iterator()
Gets an iterator over the points associated with this feature.Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getAttribute
Gets the value of the specified attribute.- Parameters:
index
- the index of the attribute to get.- Returns:
- the attribute value (possibly null).
- Throws:
IndexOutOfBoundsException
- if the attribute index is invalid.
-
getAttributeCount
int getAttributeCount()Gets the number of attributes.- Returns:
- the attribute count.
-
iterator
Iterator<EarthLocation> iterator()Gets an iterator over the points associated with this feature.- Specified by:
iterator
in interfaceIterable<EarthLocation>
- Returns:
- the iterator over points.
-