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:
java.util.Iterator<T>,java.util.ListIterator<T>,FSIterator<T>,LowLevelIterator<T>
class FsIterator_set_sorted_pear<T extends FeatureStructure> extends FsIterator_set_sorted2<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
Constructors Constructor Description FsIterator_set_sorted_pear(FsIndex_set_sorted<T> ll_index, CopyOnWriteIndexPart cow_wrapper, java.util.Comparator<TOP> comparatorMaybeNoTypeWithoutID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FsIterator_set_sorted_pear<T>copy()Copy this iterator.TgetNvc()Get the structure the iterator is pointing at.-
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 org.apache.uima.cas.impl.LowLevelIterator
getArrayList, ll_get, ll_remove, moveTo, moveTo, moveToFirst, moveToLast
-
-
-
-
Constructor Detail
-
FsIterator_set_sorted_pear
FsIterator_set_sorted_pear(FsIndex_set_sorted<T> ll_index, CopyOnWriteIndexPart cow_wrapper, java.util.Comparator<TOP> comparatorMaybeNoTypeWithoutID)
-
-
Method Detail
-
getNvc
public T getNvc()
Description copied from interface:FSIteratorGet the structure the iterator is pointing at. Throws various unchecked exceptions, if the iterator is not valid- Specified by:
getNvcin interfaceFSIterator<T extends FeatureStructure>- Overrides:
getNvcin classFsIterator_set_sorted2<T extends FeatureStructure>- Returns:
- The structure the iterator is pointing at.
-
copy
public FsIterator_set_sorted_pear<T> copy()
Description copied from interface:FSIteratorCopy this iterator.- Specified by:
copyin interfaceFSIterator<T extends FeatureStructure>- Overrides:
copyin classFsIterator_set_sorted2<T extends FeatureStructure>- Returns:
- A copy of this iterator, pointing at the same element.
-
-