public class Subiterator<T extends AnnotationFS> extends Object implements LowLevelIterator<T>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Subiterator.BoundsUse | 
FS_ITERATOR_LOW_LEVEL_EMPTY, IS_ORDERED| 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 | isIndexesHaveBeenUpdated()Used to determine when some precomputed things (e.g. | 
| boolean | isValid()Check if this iterator is valid. | 
| LowLevelIndex<T> | ll_getIndex()Get the index for just the top most type of this iterator (excludes subtypes). | 
| int | ll_indexSizeMaybeNotCurrent()This is unsupported because its expensive to compute in many cases, and may not be needed. | 
| int | ll_maxAnnotSpan() | 
| boolean | maybeReinitIterator()Internal use | 
| void | moveToFirstNoReinit()Internal use same as moveToFirst, but won't reset to use current contents of index if index has
 changed | 
| 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 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArrayList, isMoveToSupported, ll_get, ll_remove, moveTo, moveTo, moveToFirst, moveToLastadd, get, getType, hasNext, hasPrevious, moveToNext, moveToPrevious, next, nextIndex, nextNvc, previous, previousIndex, previousNvc, remove, set, size, spliterator, streamforEachRemainingpublic boolean isValid()
FSIteratorisValid in interface FSIterator<T extends AnnotationFS>true if the iterator is valid.public T getNvc()
FSIteratorgetNvc in interface FSIterator<T extends AnnotationFS>public void moveToNextNvc()
FSIteratormoveToNextNvc in interface FSIterator<T extends AnnotationFS>public void moveToPreviousNvc()
FSIteratormoveToPreviousNvc in interface FSIterator<T extends AnnotationFS>public void moveToFirstNoReinit()
LowLevelIteratormoveToFirstNoReinit in interface LowLevelIterator<T extends AnnotationFS>public void moveToLastNoReinit()
LowLevelIteratormoveToLastNoReinit in interface LowLevelIterator<T extends AnnotationFS>public void moveToNoReinit(FeatureStructure fs)
LowLevelIteratormoveToNoReinit in interface LowLevelIterator<T extends AnnotationFS>fs - the fs to use as the template identifying the place to move topublic FSIterator<T> copy()
FSIteratorcopy in interface FSIterator<T extends AnnotationFS>public int ll_indexSizeMaybeNotCurrent()
ll_indexSizeMaybeNotCurrent in interface LowLevelIterator<T extends AnnotationFS>public int ll_maxAnnotSpan()
ll_maxAnnotSpan in interface LowLevelIterator<T extends AnnotationFS>public LowLevelIndex<T> ll_getIndex()
LowLevelIteratorll_getIndex in interface LowLevelIterator<T extends AnnotationFS>public boolean isIndexesHaveBeenUpdated()
isIndexesHaveBeenUpdated in interface LowLevelIterator<T extends AnnotationFS>public boolean maybeReinitIterator()
LowLevelIteratormaybeReinitIterator in interface LowLevelIterator<T extends AnnotationFS>public Comparator<TOP> getComparator()
getComparator in interface LowLevelIterator<T extends AnnotationFS>Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.