|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjdbm.recman.PageCursor
final class PageCursor
This class provides a cursor that can follow lists of pages bi-directionally.
| Field Summary | |
|---|---|
(package private) long |
current
|
(package private) PageManager |
pageman
|
(package private) short |
type
|
| Constructor Summary | |
|---|---|
PageCursor(PageManager pageman,
long current)
Constructs a page cursor that starts at the indicated block. |
|
PageCursor(PageManager pageman,
short type)
Constructs a page cursor that starts at the first block of the indicated list. |
|
| Method Summary | |
|---|---|
(package private) long |
getCurrent()
Returns the current value of the cursor. |
(package private) long |
next()
Returns the next value of the cursor |
(package private) long |
prev()
Returns the previous value of the cursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
PageManager pageman
long current
short type
| Constructor Detail |
|---|
PageCursor(PageManager pageman,
long current)
PageCursor(PageManager pageman,
short type)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
long getCurrent()
throws java.io.IOException
java.io.IOException
long next()
throws java.io.IOException
java.io.IOException
long prev()
throws java.io.IOException
java.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||