Package org.apache.uima.internal.util
Class Common_hash_support.CommonKeyIterator
- java.lang.Object
-
- org.apache.uima.internal.util.Common_hash_support.CommonKeyIterator
-
- All Implemented Interfaces:
IntListIterator
- Direct Known Subclasses:
Int2ObjHashMap.KeyIterator
- Enclosing class:
- Common_hash_support
protected abstract class Common_hash_support.CommonKeyIterator extends java.lang.Object implements IntListIterator
-
-
Field Summary
Fields Modifier and Type Field Description protected intcurPositionprotected intfirstPosition
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommonKeyIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Check if there is a next element.booleanhasPrevious()Check if there is a previous element.voidmoveToEnd()Move the iterator to the end of the underlying index.voidmoveToStart()Move the iterator to the start of the underlying index.-
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
next, nextNvc, previous, previousNvc
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:IntListIteratorCheck if there is a next element. Does not move the iterator.- Specified by:
hasNextin interfaceIntListIterator- Returns:
trueiff there is a next element.
-
hasPrevious
public boolean hasPrevious()
Description copied from interface:IntListIteratorCheck if there is a previous element. Does not move the iterator.- Specified by:
hasPreviousin interfaceIntListIterator- Returns:
trueiff there is a previous element.
-
moveToStart
public void moveToStart()
Description copied from interface:IntListIteratorMove the iterator to the start of the underlying index.- Specified by:
moveToStartin interfaceIntListIterator
-
moveToEnd
public void moveToEnd()
Description copied from interface:IntListIteratorMove the iterator to the end of the underlying index.- Specified by:
moveToEndin interfaceIntListIterator
-
-