public class ForwardPeekingMappingDoubleIterator extends UnaryDoubleIterator
iteratorEMPTY| Constructor and Description |
|---|
ForwardPeekingMappingDoubleIterator(DoubleIterator iterator,
double lastNext,
java.util.function.DoubleBinaryOperator mapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
double |
nextDouble() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ForwardPeekingMappingDoubleIterator(DoubleIterator iterator, double lastNext, java.util.function.DoubleBinaryOperator mapper)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Double>hasNext in class DelegatingIterator<java.lang.Double,DoubleIterator,java.lang.Double>public double nextDouble()
public void remove()
remove in interface java.util.Iterator<java.lang.Double>remove in class DelegatingIterator<java.lang.Double,DoubleIterator,java.lang.Double>