public class ForwardPeekingMappingDoubleIterator extends DelegatingUnaryDoubleIterator
iterator
EMPTY
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, wait
public 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 DelegatingTransformingIterator<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 DelegatingTransformingIterator<java.lang.Double,DoubleIterator,java.lang.Double>