public class InclusiveStartingLongIterator extends DelegatingUnaryLongIterator
iterator
EMPTY
Constructor and Description |
---|
InclusiveStartingLongIterator(LongIterator iterator,
long element) |
InclusiveStartingLongIterator(LongIterator iterator,
java.util.function.LongPredicate predicate) |
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, from, from, isEmpty, of, reduce, removeAll, skip, skip
public InclusiveStartingLongIterator(LongIterator iterator, long element)
public InclusiveStartingLongIterator(LongIterator iterator, java.util.function.LongPredicate predicate)
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Long>
hasNext
in class DelegatingTransformingIterator<java.lang.Long,LongIterator,java.lang.Long>
public long nextLong()