public class InclusiveStartingIntIterator extends UnaryIntIterator
iteratorEMPTY| Constructor and Description |
|---|
InclusiveStartingIntIterator(IntIterator iterator,
int element) |
InclusiveStartingIntIterator(IntIterator iterator,
java.util.function.IntPredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
int |
nextInt() |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, count, from, from, from, from, from, from, from, from, from, from, from, isEmpty, of, reduce, removeAll, skip, skippublic InclusiveStartingIntIterator(IntIterator iterator, int element)
public InclusiveStartingIntIterator(IntIterator iterator, java.util.function.IntPredicate predicate)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Integer>hasNext in class DelegatingIterator<java.lang.Integer,IntIterator,java.lang.Integer>public int nextInt()