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
- Enclosing class:
Common_hash_support
protected abstract class Common_hash_support.CommonKeyIterator
extends Object
implements IntListIterator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
Check if there is a next element.boolean
Check if there is a previous element.void
Move the iterator to the end of the underlying index.void
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
-
Field Details
-
curPosition
protected int curPosition -
firstPosition
protected final int firstPosition
-
-
Constructor Details
-
CommonKeyIterator
protected CommonKeyIterator()
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:IntListIterator
Check if there is a next element. Does not move the iterator.- Specified by:
hasNext
in interfaceIntListIterator
- Returns:
true
iff there is a next element.
-
hasPrevious
public boolean hasPrevious()Description copied from interface:IntListIterator
Check if there is a previous element. Does not move the iterator.- Specified by:
hasPrevious
in interfaceIntListIterator
- Returns:
true
iff there is a previous element.
-
moveToStart
public void moveToStart()Description copied from interface:IntListIterator
Move the iterator to the start of the underlying index.- Specified by:
moveToStart
in interfaceIntListIterator
-
moveToEnd
public void moveToEnd()Description copied from interface:IntListIterator
Move the iterator to the end of the underlying index.- Specified by:
moveToEnd
in interfaceIntListIterator
-