public final class EmptyIntIterator extends Object implements IntIterator
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
static EmptyIntIterator |
instance() |
int |
next() |
public static EmptyIntIterator instance()
public boolean hasNext()
hasNext
in interface IntIterator
public int next() throws NoSuchElementException
next
in interface IntIterator
NoSuchElementException