net.sf.saxon.sort
Class EmptyIntIterator
java.lang.Object
net.sf.saxon.sort.EmptyIntIterator
- IntIterator
public class EmptyIntIterator
extends java.lang.Object
An iterator over a zero-length sequence of integers
static EmptyIntIterator | getInstance() - Get the singular instance of this class
|
boolean | hasNext() - Test whether there are any more integers in the sequence
|
int | next() - Return the next integer in the sequence.
|
getInstance
public static EmptyIntIterator getInstance()
Get the singular instance of this class
hasNext
public boolean hasNext()
Test whether there are any more integers in the sequence
- hasNext in interface IntIterator
- true if there are more integers to come
next
public int next()
Return the next integer in the sequence. The result is undefined unless hasNext() has been called
and has returned true.
- next in interface IntIterator
- the next integer in the sequence