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