Package org.apache.uima.cas.impl
Class FsIterator_set_sorted_pear<T extends FeatureStructure>
java.lang.Object
org.apache.uima.cas.impl.FsIterator_singletype<T>
org.apache.uima.cas.impl.FsIterator_set_sorted2<T>
org.apache.uima.cas.impl.FsIterator_set_sorted_pear<T>
- Type Parameters:
T
- the type of FSs being returned from the iterator, supplied by the calling context
- All Implemented Interfaces:
Iterator<T>
,ListIterator<T>
,FSIterator<T>
,LowLevelIterator<T>
-
Field Summary
Fields inherited from class org.apache.uima.cas.impl.FsIterator_set_sorted2
comparatorMaybeNoTypeWithoutID, ll_index, ofsa, pos
Fields inherited from class org.apache.uima.cas.impl.FsIterator_singletype
ti
Fields inherited from interface org.apache.uima.cas.impl.LowLevelIterator
FS_ITERATOR_LOW_LEVEL_EMPTY, IS_ORDERED
-
Constructor Summary
ConstructorsConstructorDescriptionFsIterator_set_sorted_pear
(FsIndex_set_sorted<T> ll_index, CopyOnWriteIndexPart cow_wrapper, Comparator<TOP> comparatorMaybeNoTypeWithoutID) -
Method Summary
Methods inherited from class org.apache.uima.cas.impl.FsIterator_set_sorted2
copyCommonSetup, getComparator, isIndexesHaveBeenUpdated, isMoveToSupported, isValid, ll_getIndex, ll_indexSizeMaybeNotCurrent, ll_maxAnnotSpan, maybeReinitIterator, moveToFirstNoReinit, moveToLastNoReinit, moveToNextNvc, moveToNoReinit, moveToPreviousNvc, size
Methods inherited from class org.apache.uima.cas.impl.FsIterator_singletype
maybeTraceCowUsingCopy, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.uima.cas.FSIterator
add, get, getType, hasNext, hasPrevious, moveToNext, moveToPrevious, next, nextIndex, nextNvc, previous, previousIndex, previousNvc, remove, set, spliterator, stream
Methods inherited from interface java.util.Iterator
forEachRemaining
Methods inherited from interface org.apache.uima.cas.impl.LowLevelIterator
getArrayList, ll_get, ll_remove, moveTo, moveTo, moveToFirst, moveToLast
-
Constructor Details
-
FsIterator_set_sorted_pear
FsIterator_set_sorted_pear(FsIndex_set_sorted<T> ll_index, CopyOnWriteIndexPart cow_wrapper, Comparator<TOP> comparatorMaybeNoTypeWithoutID)
-
-
Method Details
-
getNvc
Description copied from interface:FSIterator
Get the structure the iterator is pointing at. Throws various unchecked exceptions, if the iterator is not valid- Specified by:
getNvc
in interfaceFSIterator<T extends FeatureStructure>
- Overrides:
getNvc
in classFsIterator_set_sorted2<T extends FeatureStructure>
- Returns:
- The structure the iterator is pointing at.
-
copy
Description copied from interface:FSIterator
Copy this iterator.- Specified by:
copy
in interfaceFSIterator<T extends FeatureStructure>
- Overrides:
copy
in classFsIterator_set_sorted2<T extends FeatureStructure>
- Returns:
- A copy of this iterator, pointing at the same element.
-