public abstract class FSIteratorImplBase<T extends FeatureStructure> extends Object implements LowLevelIterator<T>
FS_ITERATOR_LOW_LEVEL_EMPTY, IS_ORDERED
Constructor and Description |
---|
FSIteratorImplBase() |
Modifier and Type | Method and Description |
---|---|
Comparator<TOP> |
getComparator()
default implementation of getComparator
|
boolean |
hasNext()
DEFAULT implementations of Iterator interface
in terms of FSIterator methods
|
T |
next() |
void |
remove()
Removes from all the indexes associated with this view, the
"current" Feature Structure (the one that would be returned by a
"get()" operation).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArrayList, isIndexesHaveBeenUpdated, isMoveToSupported, ll_get, ll_getIndex, ll_indexSizeMaybeNotCurrent, ll_maxAnnotSpan, ll_remove, maybeReinitIterator, moveTo, moveTo, moveToFirst, moveToFirstNoReinit, moveToLast, moveToLastNoReinit, moveToNoReinit
add, copy, get, getNvc, getType, hasPrevious, isValid, moveToNext, moveToNextNvc, moveToPrevious, moveToPreviousNvc, nextIndex, nextNvc, previous, previousIndex, previousNvc, set, size, spliterator, stream
forEachRemaining
public boolean hasNext()
FSIterator
hasNext
in interface Iterator<T extends FeatureStructure>
hasNext
in interface ListIterator<T extends FeatureStructure>
hasNext
in interface FSIterator<T extends FeatureStructure>
public T next()
next
in interface Iterator<T extends FeatureStructure>
next
in interface ListIterator<T extends FeatureStructure>
next
in interface FSIterator<T extends FeatureStructure>
public void remove()
FSIterator
remove
in interface Iterator<T extends FeatureStructure>
remove
in interface ListIterator<T extends FeatureStructure>
remove
in interface FSIterator<T extends FeatureStructure>
public Comparator<TOP> getComparator()
getComparator
in interface LowLevelIterator<T extends FeatureStructure>
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.