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 intnextNvc()version of next() which bypasses the validity check.intversion of previous that bypasses the validity check.Methods inherited from class org.apache.uima.internal.util.Common_hash_support.CommonKeyIterator
hasNext, hasPrevious, moveToEnd, moveToStartMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:IntListIteratorversion of next() which bypasses the validity check. Only use this if you've already done this check yourself.- Specified by:
nextNvcin interfaceIntListIterator- Returns:
- the next int in the list and increment the iterator.
-
previousNvc
public int previousNvc()Description copied from interface:IntListIteratorversion of previous that bypasses the validity check. Only use this if you've already done this check yourself.- Specified by:
previousNvcin interfaceIntListIterator- Returns:
- the previous int (found by first moving the iterator one backwards).
-