public class StructureDataIteratorIndexed extends Object implements StructureDataIterator
Constructor and Description |
---|
StructureDataIteratorIndexed(Structure s,
List<Integer> index) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentRecno() |
boolean |
hasNext()
See if theres more StructureData in the iteration.
|
StructureData |
next()
Get the next StructureData in the iteration.
|
StructureDataIterator |
reset()
Start the iteration over again.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, finish, setBufferSize
public StructureDataIteratorIndexed(Structure s, List<Integer> index) throws IOException
IOException
public StructureData next() throws IOException
StructureDataIterator
next
in interface StructureDataIterator
IOException
- on read errorpublic boolean hasNext() throws IOException
StructureDataIterator
hasNext
in interface StructureDataIterator
IOException
- on read errorpublic StructureDataIterator reset()
StructureDataIterator
reset
in interface StructureDataIterator
public int getCurrentRecno()
getCurrentRecno
in interface StructureDataIterator