|
||||||||||
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()
LowLevelIterator
isValid()
will succeed
iff the index is non-empty.
moveToFirst
in interface LowLevelIterator
public void moveToLast()
LowLevelIterator
isValid()
will succeed
iff the index is non-empty.
moveToLast
in interface LowLevelIterator
public boolean isValid()
LowLevelIterator
isValid
in interface LowLevelIterator
true
iff the iterator is valid.public int ll_get() throws java.util.NoSuchElementException
LowLevelIterator
ll_get
in interface LowLevelIterator
java.util.NoSuchElementException
- Iff the iterator is not valid.public void moveToNext()
LowLevelIterator
moveToNext
in interface LowLevelIterator
public void moveToPrevious()
LowLevelIterator
moveToPrevious
in interface LowLevelIterator
public void moveTo(int fsRef)
LowLevelIterator
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.
moveTo
in interface LowLevelIterator
fsRef
- The FS reference the iterator should be set to.public java.lang.Object copy()
LowLevelIterator
copy
in interface LowLevelIterator
public int ll_indexSize()
LowLevelIterator
ll_indexSize
in interface LowLevelIterator
public 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 |