|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjdbm.helper.TupleBrowser<K,V>
public abstract class TupleBrowser<K,V>
Browser to traverse a collection of tuples. The browser allows for forward and reverse order traversal.
| Constructor Summary | |
|---|---|
TupleBrowser()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the browser and deallocates any resources it might have allocated. |
abstract boolean |
getNext(Tuple<K,V> tuple)
Get the next tuple. |
abstract boolean |
getPrevious(Tuple<K,V> tuple)
Get the previous tuple. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TupleBrowser()
| Method Detail |
|---|
public abstract boolean getNext(Tuple<K,V> tuple)
throws IOException
tuple - Tuple into which values are copied.
IOException
public abstract boolean getPrevious(Tuple<K,V> tuple)
throws IOException
tuple - Tuple into which values are copied.
IOExceptionpublic void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||