|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILeafCursor<L extends Leaf>
Leaf cursor interface.
| Method Summary | |
|---|---|
ILeafCursor<L> |
clone()
Clone the cursor. |
L |
first()
Return the first leaf. |
AbstractBTree |
getBTree()
The backing B+Tree. |
L |
last()
Return the last leaf. |
L |
leaf()
The current leaf (always defined). |
L |
next()
Return the next leaf in the natural order of the B+Tree. |
L |
prior()
Return the previous leaf in the natural order of the B+Tree. |
L |
seek(byte[] key)
Find the leaf that would span the key. |
L |
seek(ILeafCursor<L> src)
Position this cursor on the same leaf as the given cursor. |
| Method Detail |
|---|
AbstractBTree getBTree()
L leaf()
L first()
L last()
L seek(byte[] key)
key - The key
null.
IllegalArgumentException - if the key is null.L seek(ILeafCursor<L> src)
src - A cursor.
IllegalArgumentException - if the argument is null
IllegalArgumentException - if the argument is a cursor for a different
AbstractBTree.ILeafCursor<L> clone()
L prior()
null iff there is no
previous leaf.L next()
null iff there is no next
leaf.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||