IntIterator
public class EmptyIntIterator extends java.lang.Object implements IntIterator
Modifier and Type | Method | Description |
---|---|---|
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.
|
public static EmptyIntIterator getInstance()
public boolean hasNext()
hasNext
in interface IntIterator
public int next()
next
in interface IntIterator