Package ucar.nc2.ft.point
Class StationProfileCollectionImpl.NestedCollectionIOIteratorAdapter<T>
- java.lang.Object
-
- ucar.nc2.ft.point.StationProfileCollectionImpl.NestedCollectionIOIteratorAdapter<T>
-
- All Implemented Interfaces:
Closeable,AutoCloseable,IOIterator<T>
- Enclosing class:
- StationProfileCollectionImpl
public static class StationProfileCollectionImpl.NestedCollectionIOIteratorAdapter<T> extends Object implements IOIterator<T>
-
-
Constructor Summary
Constructors Constructor Description NestedCollectionIOIteratorAdapter(PointFeatureCCIterator pfIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Returnstrueif the iteration has more elements.Tnext()Returns the next element in the iteration.
-
-
-
Constructor Detail
-
NestedCollectionIOIteratorAdapter
public NestedCollectionIOIteratorAdapter(PointFeatureCCIterator pfIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:IOIteratorReturnstrueif the iteration has more elements. (In other words, returnstrueifIOIterator.next()would return an element rather than throwing an exception.)- Specified by:
hasNextin interfaceIOIterator<T>- Returns:
trueif the iteration has more elements
-
next
public T next()
Description copied from interface:IOIteratorReturns the next element in the iteration.- Specified by:
nextin interfaceIOIterator<T>- Returns:
- the next element in the iteration
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-