Package net.sf.saxon.z
Interface IntIterator
-
- All Known Implementing Classes:
EmptyIntIterator,IntArraySet.IntArrayIterator,IntSingletonIterator,IntStepIterator
public interface IntIteratorAn iterator over a sequence of unboxed int values
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasNext()Test whether there are any more integers in the sequenceintnext()Return the next integer in the sequence.
-
-
-
Method Detail
-
hasNext
boolean hasNext()
Test whether there are any more integers in the sequence- Returns:
- true if there are more integers to come
-
next
int next()
Return the next integer in the sequence. The result is undefined unless hasNext() has been called and has returned true.- Returns:
- the next integer in the sequence
-
-