T - result typepublic class FsIterator_subtypes_ordered<T extends FeatureStructure> extends FsIterator_multiple_indexes<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
lastValidIteratorIndex
index into nonEmptyIterators, shows last valid one
|
allIterators, comparatorMaybeNoTypeWithoutId, main_idx, nonEmptyIteratorsFS_ITERATOR_LOW_LEVEL_EMPTY, IS_ORDERED| Constructor and Description |
|---|
FsIterator_subtypes_ordered(org.apache.uima.cas.impl.FsIndex_iicp<T> iicp,
Comparator<TOP> comparatorMaybeNoTypeWithoutId) |
| Modifier and Type | Method and Description |
|---|---|
FSIterator<T> |
copy()
Copy this iterator.
|
Comparator<TOP> |
getComparator() |
T |
getNvc()
Get the structure the iterator is pointing at.
|
boolean |
isMoveToSupported() |
boolean |
isValid()
Check if this iterator is valid.
|
void |
moveToFirstNoReinit()
Move operators have to move a group of iterators for this type and all its subtypes
|
void |
moveToLastNoReinit()
Internal use same as moveToLast, but won't reset to use current contents of index if index has
changed
|
void |
moveToNextNvc()
version of moveToNext which bypasses the isValid check - call only if you've just done this
check yourself
|
void |
moveToNoReinit(FeatureStructure fs)
Internal use same as moveTo(fs), but won't reset to use current contents of index if index has
changed
|
void |
moveToPreviousNvc()
version of moveToPrevious which bypasses the isValid check - call only if you've just done this
check yourself
|
isIndexesHaveBeenUpdated, ll_getIndex, ll_indexSizeMaybeNotCurrent, ll_maxAnnotSpan, maybeReinitIterator, separate_into_empty_indexes_and_non_empty_iterators, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArrayList, ll_get, ll_remove, moveTo, moveTo, moveToFirst, moveToLastadd, get, getType, hasNext, hasPrevious, moveToNext, moveToPrevious, next, nextIndex, nextNvc, previous, previousIndex, previousNvc, remove, set, spliterator, streamforEachRemainingprotected int lastValidIteratorIndex
public FsIterator_subtypes_ordered(org.apache.uima.cas.impl.FsIndex_iicp<T> iicp, Comparator<TOP> comparatorMaybeNoTypeWithoutId)
public void moveToFirstNoReinit()
public void moveToLastNoReinit()
LowLevelIteratorpublic void moveToNextNvc()
FSIteratorpublic void moveToPreviousNvc()
FSIteratorpublic boolean isValid()
FSIteratortrue if the iterator is valid.public T getNvc() throws NoSuchElementException
FSIteratorNoSuchElementExceptionpublic void moveToNoReinit(FeatureStructure fs)
LowLevelIteratorfs - the fs to use as the template identifying the place to move topublic FSIterator<T> copy()
FSIteratorpublic Comparator<TOP> getComparator()
public boolean isMoveToSupported()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.