|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.dt.DatatypeIterator
public abstract class DatatypeIterator
An abstract implementation for iterating over datatypes, such as PointObsDatatype, etc.
| Constructor Summary | |
|---|---|
protected |
DatatypeIterator(Structure struct,
int bufferSize)
|
| Method Summary | |
|---|---|
boolean |
hasNext()
true if another "DataType" object is available |
protected abstract Object |
makeDatatypeWithData(int recnum,
StructureData sdata)
|
Object |
next()
Returns the next "DataType" object. |
Object |
nextData()
Returns the next "DataType" object |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DatatypeIterator(Structure struct,
int bufferSize)
| Method Detail |
|---|
protected abstract Object makeDatatypeWithData(int recnum,
StructureData sdata)
throws IOException
IOExceptionpublic boolean hasNext()
DataIterator
hasNext in interface IteratorhasNext in interface DataIterator
public Object nextData()
throws IOException
DataIterator
nextData in interface DataIteratorIOExceptionpublic Object next()
DataIterator
next in interface Iteratornext in interface DataIteratorpublic void remove()
remove in interface Iterator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||