public class InclusiveTerminalLongIterator extends UnaryLongIterator
iterator
EMPTY
Constructor and Description |
---|
InclusiveTerminalLongIterator(LongIterator iterator,
long terminal) |
InclusiveTerminalLongIterator(LongIterator iterator,
java.util.function.LongPredicate terminal) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
long |
nextLong() |
remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contains, count, from, from, from, from, from, from, from, of, reduce, skip, skip
public InclusiveTerminalLongIterator(LongIterator iterator, long terminal)
public InclusiveTerminalLongIterator(LongIterator iterator, java.util.function.LongPredicate terminal)
public long nextLong()
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Long>
hasNext
in class DelegatingIterator<java.lang.Long,LongIterator,java.lang.Long>