BidirectionalIterator<java.lang.Double>, DoubleIterator, java.util.Iterator<java.lang.Double>, ObjectBidirectionalIterator<java.lang.Double>, ObjectIterator<java.lang.Double>, java.util.PrimitiveIterator<java.lang.Double,java.util.function.DoubleConsumer>, java.util.PrimitiveIterator.OfDoubleDoubleBigListIterator, DoubleListIteratorAbstractDoubleBidirectionalIterator, AbstractDoubleBigListIterator, AbstractDoubleListIterator, DoubleBigListIterators.BigListIteratorListIterator, DoubleBigListIterators.EmptyBigListIterator, DoubleBigListIterators.UnmodifiableBigListIterator, DoubleIterators.EmptyIterator, DoubleIterators.UnmodifiableBidirectionalIterator, DoubleIterators.UnmodifiableListIteratorpublic interface DoubleBidirectionalIterator extends DoubleIterator, ObjectBidirectionalIterator<java.lang.Double>
BidirectionalIterator| Modifier and Type | Method | Description |
|---|---|---|
default int |
back(int n) |
Moves back for the given number of elements.
|
default java.lang.Double |
previous() |
Deprecated.
Please use the corresponding type-specific method instead.
|
double |
previousDouble() |
Returns the previous element as a primitive type.
|
default int |
skip(int n) |
Skips the given number of elements.
|
hasPreviousforEachRemaining, next, nextDoubledouble previousDouble()
ListIterator.previous()@Deprecated default java.lang.Double previous()
previous in interface BidirectionalIterator<java.lang.Double>ListIterator.previous()default int back(int n)
The effect of this call is exactly the same as that of calling
previous() for n times (possibly stopping if
BidirectionalIterator.hasPrevious() becomes false).
back in interface ObjectBidirectionalIterator<java.lang.Double>n - the number of elements to skip back.previous()default int skip(int n)
The effect of this call is exactly the same as that of calling
DoubleIterator.next() for n times (possibly stopping if Iterator.hasNext()
becomes false).
skip in interface DoubleIteratorskip in interface ObjectBidirectionalIterator<java.lang.Double>skip in interface ObjectIterator<java.lang.Double>n - the number of elements to skip.Iterator.next()