Package ucar.nc2.dt
Class DatatypeIterator
- java.lang.Object
-
- ucar.nc2.dt.DatatypeIterator
-
- All Implemented Interfaces:
Iterator,DataIterator
public abstract class DatatypeIterator extends Object implements DataIterator
Deprecated.use ucar.nc2.ft.*An abstract implementation for iterating over datatypes, such as PointObsDatatype, etc.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDatatypeIterator(ucar.nc2.Structure struct, int bufferSize)Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanhasNext()Deprecated.true if another "DataType" object is availableprotected abstract ObjectmakeDatatypeWithData(int recnum, ucar.ma2.StructureData sdata)Deprecated.Objectnext()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
-
-
-
-
Method Detail
-
makeDatatypeWithData
protected abstract Object makeDatatypeWithData(int recnum, ucar.ma2.StructureData sdata) throws IOException
Deprecated.- Throws:
IOException
-
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
-
-