public class LimitingDoubleIterator extends UnaryDoubleIterator
iteratorEMPTY| Constructor and Description |
|---|
LimitingDoubleIterator(DoubleIterator iterator,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
double |
nextDouble() |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, count, from, from, from, from, from, from, from, isEmpty, of, reduce, removeAll, skip, skippublic LimitingDoubleIterator(DoubleIterator iterator, int limit)
public double nextDouble()
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Double>hasNext in class DelegatingIterator<java.lang.Double,DoubleIterator,java.lang.Double>