|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.persist.file.RecordIterator
A Record is an abstraction of a 'row' in the virtual table.
Nested Class Summary | |
static class |
RecordIterator.Test
Unit tests. |
Constructor Summary | |
RecordIterator(java.io.RandomAccessFile file)
Every iterator needs the file upon which to iterate. |
Method Summary | |
java.io.RandomAccessFile |
getSourceFile()
The file upon which this class is iterating. |
boolean |
hasNext()
Returns true if the iteration has more elements. |
java.lang.Object |
next()
Return the next element in the iteration. |
void |
remove()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RecordIterator(java.io.RandomAccessFile file) throws java.io.IOException
file
- Description of Parameter
java.io.IOException
- Description of ExceptionMethod Detail |
public java.io.RandomAccessFile getSourceFile()
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |