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 void
close()
boolean
hasNext()
Returnstrue
if the iteration has more elements.T
next()
Returns the next element in the iteration.
-
-
-
Constructor Detail
-
NestedCollectionIOIteratorAdapter
public NestedCollectionIOIteratorAdapter(PointFeatureCCIterator pfIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:IOIterator
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifIOIterator.next()
would return an element rather than throwing an exception.)- Specified by:
hasNext
in interfaceIOIterator<T>
- Returns:
true
if the iteration has more elements
-
next
public T next()
Description copied from interface:IOIterator
Returns the next element in the iteration.- Specified by:
next
in interfaceIOIterator<T>
- Returns:
- the next element in the iteration
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-