|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LowLevelIterator
Low-level FS iterator. Returns FS references, instead of FS objects.
FSIterator| Method Summary | |
|---|---|
java.lang.Object |
copy()
Create a copy of this iterator. |
boolean |
isValid()
Check if the iterator is currently valid. |
int |
ll_get()
Return the current FS reference. |
LowLevelIndex |
ll_getIndex()
Get the index of this iterator. |
int |
ll_indexSize()
Return the size of the underlying index. |
void |
moveTo(int fsRef)
Try to position the iterator so that the current element is greater than or equal to fsRef, and previous elements are less than fsRef. |
void |
moveToFirst()
Move iterator to first FS in index. |
void |
moveToLast()
Move iterator to last FS in index. |
void |
moveToNext()
Advance the iterator. |
void |
moveToPrevious()
Move the iterator back one position. |
| Method Detail |
|---|
void moveToFirst()
isValid() will succeed
iff the index is non-empty.
void moveToLast()
isValid() will succeed
iff the index is non-empty.
boolean isValid()
true iff the iterator is valid.
int ll_get()
throws java.util.NoSuchElementException
java.util.NoSuchElementException - Iff the iterator is not valid.void moveToNext()
void moveToPrevious()
void moveTo(int fsRef)
fsRef, and previous elements are less than fsRef. This may
invalidate the iterator. If fsRef can not be compared to FSs in the index, the results are
undefined.
fsRef - The FS reference the iterator should be set to.java.lang.Object copy()
int ll_indexSize()
LowLevelIndex ll_getIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||