public class IntIterator4set<T extends FeatureStructure> extends FSIntIteratorImplBase<T>
detectIllegalIndexUpdates| Constructor and Description |
|---|
IntIterator4set(FSRBTSetIndex<T> fsSetIndex,
int[] detectIllegalIndexUpdates,
org.apache.uima.internal.util.IntComparator comp) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FSIntIteratorImplBase<T> o) |
Object |
copy()
Create a copy of this iterator.
|
int |
get() |
boolean |
isValid()
Check if the iterator is currently valid.
|
int |
ll_indexSize()
Return the size of the underlying index.
|
void |
moveTo(int i)
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()
If empty, make position -1 (invalid)
|
void |
moveToLast()
If empty, make position -1 (invalid)
|
void |
moveToNext()
Advance the iterator.
|
void |
moveToPrevious()
Move the iterator back one position.
|
checkConcurrentModification, dec, inc, ll_get, ll_getIndex, resetConcurrentModificationpublic IntIterator4set(FSRBTSetIndex<T> fsSetIndex, int[] detectIllegalIndexUpdates, org.apache.uima.internal.util.IntComparator comp)
public boolean isValid()
LowLevelIteratortrue iff the iterator is valid.public void moveToFirst()
public void moveToLast()
public void moveToNext()
LowLevelIteratorpublic void moveToPrevious()
LowLevelIteratorpublic int get()
public Object copy()
LowLevelIteratorIntPointerIterator.copy()public void moveTo(int i)
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.i - The FS reference the iterator should be set to.IntPointerIterator.moveTo(int)public int ll_indexSize()
LowLevelIteratorpublic int compareTo(FSIntIteratorImplBase<T> o)
compareTo in interface Comparable<FSIntIteratorImplBase<T extends FeatureStructure>>compareTo in class FSIntIteratorImplBase<T extends FeatureStructure>Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.