public class SteppingIntIterator extends UnaryIntIterator
iterator
EMPTY
Constructor and Description |
---|
SteppingIntIterator(IntIterator iterator,
long step) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
int |
nextInt() |
remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contains, count, from, from, from, from, from, from, from, from, from, of, reduce, skip, skip
public SteppingIntIterator(IntIterator iterator, long step)
public int nextInt()
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Integer>
hasNext
in class DelegatingIterator<java.lang.Integer,IntIterator,java.lang.Integer>