public abstract class FSIntIteratorImplBase<T extends FeatureStructure> extends Object implements org.apache.uima.internal.util.ComparableIntPointerIterator<T>, LowLevelIterator
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
detectIllegalIndexUpdates
This is a ref to the shared value in the FSIndexRepositoryImpl
OR it may be null which means skip the checking (done for some internal routines
which know they are not updating the index, and assume no other thread is)
|
| Constructor and Description |
|---|
FSIntIteratorImplBase(FSLeafIndexImpl<T> fsLeafIndexImpl,
int[] detectIllegalIndexUpdates) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkConcurrentModification() |
int |
compareTo(FSIntIteratorImplBase<T> o) |
void |
dec() |
void |
inc() |
int |
ll_get()
Return the current FS reference.
|
LowLevelIndex |
ll_getIndex()
Get the index for just the top most type of this iterator (excludes subtypes).
|
void |
resetConcurrentModification() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopy, get, isValid, moveTo, moveToFirst, moveToLastcopy, isValid, ll_indexSize, moveTo, moveToFirst, moveToLast, moveToNext, moveToPreviousprotected final int[] detectIllegalIndexUpdates
public FSIntIteratorImplBase(FSLeafIndexImpl<T> fsLeafIndexImpl, int[] detectIllegalIndexUpdates)
fsLeafIndexImpl - the leaf index this iterator is overdetectIllegalIndexUpdates - may be nullpublic void checkConcurrentModification()
public void resetConcurrentModification()
public void inc()
inc in interface org.apache.uima.internal.util.IntPointerIteratorpublic void dec()
dec in interface org.apache.uima.internal.util.IntPointerIteratorpublic LowLevelIndex ll_getIndex()
LowLevelIteratorll_getIndex in interface LowLevelIteratorpublic int compareTo(FSIntIteratorImplBase<T> o)
compareTo in interface Comparable<FSIntIteratorImplBase<T extends FeatureStructure>>public int ll_get()
throws NoSuchElementException
LowLevelIteratorll_get in interface LowLevelIteratorNoSuchElementException - Iff the iterator is not valid.Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.