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 protected
DatatypeIterator(Structure struct, int bufferSize)
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Deprecated.true if another "DataType" object is availableprotected abstract Object
makeDatatypeWithData(int recnum, StructureData sdata)
Deprecated.Object
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
-
DatatypeIterator
protected DatatypeIterator(Structure struct, int bufferSize)
Deprecated.
-
-
Method Detail
-
makeDatatypeWithData
protected abstract Object makeDatatypeWithData(int recnum, StructureData sdata) throws IOException
Deprecated.- Throws:
IOException
-
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
-
-