Package org.apache.uima.internal.util
Class Int2ObjHashMap.KeyIterator
java.lang.Object
org.apache.uima.internal.util.Common_hash_support.CommonKeyIterator
org.apache.uima.internal.util.Int2ObjHashMap.KeyIterator
- All Implemented Interfaces:
IntListIterator
- Enclosing class:
Int2ObjHashMap<T,
E extends T>
private class Int2ObjHashMap.KeyIterator
extends Common_hash_support.CommonKeyIterator
implements IntListIterator
-
Field Summary
Fields inherited from class org.apache.uima.internal.util.Common_hash_support.CommonKeyIterator
curPosition, firstPosition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
nextNvc()
version of next() which bypasses the validity check.int
version of previous that bypasses the validity check.Methods inherited from class org.apache.uima.internal.util.Common_hash_support.CommonKeyIterator
hasNext, hasPrevious, moveToEnd, moveToStart
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.uima.internal.util.IntListIterator
hasNext, hasPrevious, moveToEnd, moveToStart, next, previous
-
Constructor Details
-
KeyIterator
private KeyIterator()
-
-
Method Details
-
nextNvc
public final int nextNvc()Description copied from interface:IntListIterator
version of next() which bypasses the validity check. Only use this if you've already done this check yourself.- Specified by:
nextNvc
in interfaceIntListIterator
- Returns:
- the next int in the list and increment the iterator.
-
previousNvc
public int previousNvc()Description copied from interface:IntListIterator
version of previous that bypasses the validity check. Only use this if you've already done this check yourself.- Specified by:
previousNvc
in interfaceIntListIterator
- Returns:
- the previous int (found by first moving the iterator one backwards).
-