ucar.nc2.ft.point
Class SectionFeatureImpl
java.lang.Object
ucar.nc2.ft.point.OneNestedPointCollectionImpl
ucar.nc2.ft.point.SectionFeatureImpl
- All Implemented Interfaces:
- FeatureCollection, NestedPointFeatureCollection, SectionFeature
public abstract class SectionFeatureImpl
- extends OneNestedPointCollectionImpl
- implements SectionFeature
Abstract superclass for implementations of SectionFeature.
Subclass must implement getPointFeatureCollectionIterator();
- Since:
- Oct 22, 2009
- Author:
- caron
Method Summary |
boolean |
hasNext()
Use the internal iterator to check if there is another ProfileFeature in the iteration. |
ProfileFeature |
next()
Use the internal iterator to get the next ProfileFeature in the iteration. |
void |
resetIteration()
Reset the internal iterator for another iteration over the ProfileFeature in this Collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localIterator
protected PointFeatureCollectionIterator localIterator
SectionFeatureImpl
protected SectionFeatureImpl(String name)
hasNext
public boolean hasNext()
throws IOException
- Description copied from interface:
SectionFeature
- Use the internal iterator to check if there is another ProfileFeature in the iteration.
- Specified by:
hasNext
in interface SectionFeature
- Returns:
- true is there is another ProfileFeature in the iteration.
- Throws:
IOException
- on read error
next
public ProfileFeature next()
throws IOException
- Description copied from interface:
SectionFeature
- Use the internal iterator to get the next ProfileFeature in the iteration.
You must call hasNext() before you call this.
- Specified by:
next
in interface SectionFeature
- Returns:
- the next ProfileFeature in the iteration
- Throws:
IOException
- on read error
resetIteration
public void resetIteration()
throws IOException
- Description copied from interface:
SectionFeature
- Reset the internal iterator for another iteration over the ProfileFeature in this Collection.
- Specified by:
resetIteration
in interface SectionFeature
- Throws:
IOException
- on read error
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.