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, wait
copy, get, isValid, moveTo, moveToFirst, moveToLast
copy, isValid, ll_indexSize, moveTo, moveToFirst, moveToLast, moveToNext, moveToPrevious
protected 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.IntPointerIterator
public void dec()
dec
in interface org.apache.uima.internal.util.IntPointerIterator
public LowLevelIndex ll_getIndex()
LowLevelIterator
ll_getIndex
in interface LowLevelIterator
public int compareTo(FSIntIteratorImplBase<T> o)
compareTo
in interface Comparable<FSIntIteratorImplBase<T extends FeatureStructure>>
public int ll_get() throws NoSuchElementException
LowLevelIterator
ll_get
in interface LowLevelIterator
NoSuchElementException
- Iff the iterator is not valid.Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.