public class InclusiveTerminalIntIterator extends DelegatingUnaryIntIterator
iterator
EMPTY
Constructor and Description |
---|
InclusiveTerminalIntIterator(IntIterator iterator,
int terminal) |
InclusiveTerminalIntIterator(IntIterator iterator,
java.util.function.IntPredicate terminal) |
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, from, from, isEmpty, of, reduce, removeAll, skip, skip
public InclusiveTerminalIntIterator(IntIterator iterator, int terminal)
public InclusiveTerminalIntIterator(IntIterator iterator, java.util.function.IntPredicate terminal)
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Integer>
hasNext
in class DelegatingTransformingIterator<java.lang.Integer,IntIterator,java.lang.Integer>
public int nextInt()