public class FilteringLongIterator extends UnaryLongIterator
iteratorEMPTY| Constructor and Description |
|---|
FilteringLongIterator(LongIterator iterator,
java.util.function.LongPredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
long |
nextLong() |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, count, from, from, from, from, from, from, from, from, from, isEmpty, of, reduce, removeAll, skip, skippublic FilteringLongIterator(LongIterator iterator, java.util.function.LongPredicate predicate)
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>