org.apache.uima.internal.util
public interface IntListIterator
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Check if there is a next element.
|
boolean |
hasPrevious()
Check if there is a previous element.
|
void |
moveToEnd()
Move the iterator to the end of the underlying index.
|
void |
moveToStart()
Move the iterator to the start of the underlying index.
|
int |
next()
Return the next feature structure and increment the iterator.
|
int |
previous()
Return the previous feature structure and decrement the iterator.
|
boolean hasNext()
true
iff there is a next element.int next() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- If no next element exists, i.e., when the iterator points at the last position in
the index.boolean hasPrevious()
true
iff there is a previous element.int previous()
java.util.NoSuchElementException
- If no previous element exists, i.e., when the iterator points at the first
position in the index.void moveToStart()
void moveToEnd()
Copyright © 2014. All Rights Reserved.