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 booleanhasNext()Deprecated.true if another "DataType" object is availableObjectnext()Deprecated.Returns the next "DataType" object.ObjectnextData()Deprecated.Returns the next "DataType" objectvoidremove()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:DataIteratortrue if another "DataType" object is available- Specified by:
hasNextin interfaceDataIterator- Specified by:
hasNextin interfaceIterator
-
nextData
public Object nextData() throws IOException
Deprecated.Description copied from interface:DataIteratorReturns the next "DataType" object- Specified by:
nextDatain interfaceDataIterator- Returns:
- the next "DataType" object
- Throws:
IOException
-
next
public Object next()
Deprecated.Description copied from interface:DataIteratorReturns the next "DataType" object.- Specified by:
nextin interfaceDataIterator- Specified by:
nextin interfaceIterator
-
-