Package ucar.nc2.dt
Class DataIteratorAdapter
- java.lang.Object
-
- ucar.nc2.dt.DataIteratorAdapter
-
- All Implemented Interfaces:
Iterator
,DataIterator
public class DataIteratorAdapter extends Object implements DataIterator
Deprecated.use ucar.nc2.ft.*make an Iterator into a DataIterator
-
-
Constructor Summary
Constructors Constructor Description DataIteratorAdapter(Iterator iter)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Deprecated.true if another "DataType" object is availableObject
next()
Deprecated.Returns the next "DataType" object.Object
nextData()
Deprecated.Returns the next "DataType" objectvoid
remove()
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
DataIteratorAdapter
public DataIteratorAdapter(Iterator iter)
Deprecated.
-
-
Method Detail
-
hasNext
public boolean hasNext()
Deprecated.Description copied from interface:DataIterator
true if another "DataType" object is available- Specified by:
hasNext
in interfaceDataIterator
- Specified by:
hasNext
in interfaceIterator
-
nextData
public Object nextData() throws IOException
Deprecated.Description copied from interface:DataIterator
Returns the next "DataType" object- Specified by:
nextData
in interfaceDataIterator
- Returns:
- the next "DataType" object
- Throws:
IOException
-
next
public Object next()
Deprecated.Description copied from interface:DataIterator
Returns the next "DataType" object.- Specified by:
next
in interfaceDataIterator
- Specified by:
next
in interfaceIterator
-
-