|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.cas.impl.LLUnambiguousIteratorImpl
public class LLUnambiguousIteratorImpl
| Constructor Summary | |
|---|---|
LLUnambiguousIteratorImpl(LowLevelIterator it,
LowLevelCAS cas)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LLUnambiguousIteratorImpl(LowLevelIterator it,
LowLevelCAS cas)
| Method Detail |
|---|
public void moveToFirst()
LowLevelIteratorisValid() will succeed
iff the index is non-empty.
moveToFirst in interface LowLevelIteratorpublic void moveToLast()
LowLevelIteratorisValid() will succeed
iff the index is non-empty.
moveToLast in interface LowLevelIteratorpublic boolean isValid()
LowLevelIterator
isValid in interface LowLevelIteratortrue iff the iterator is valid.
public int ll_get()
throws java.util.NoSuchElementException
LowLevelIterator
ll_get in interface LowLevelIteratorjava.util.NoSuchElementException - Iff the iterator is not valid.public void moveToNext()
LowLevelIterator
moveToNext in interface LowLevelIteratorpublic void moveToPrevious()
LowLevelIterator
moveToPrevious in interface LowLevelIteratorpublic void moveTo(int fsRef)
LowLevelIteratorfsRef, 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.
moveTo in interface LowLevelIteratorfsRef - The FS reference the iterator should be set to.public java.lang.Object copy()
LowLevelIterator
copy in interface LowLevelIteratorpublic int ll_indexSize()
LowLevelIterator
ll_indexSize in interface LowLevelIteratorpublic LowLevelIndex ll_getIndex()
LowLevelIterator
ll_getIndex in interface LowLevelIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||