public interface DoubleBidirectionalIterator extends DoubleIterator, ObjectBidirectionalIterator<Double>
BidirectionalIterator| Modifier and Type | Method and Description |
|---|---|
int |
back(int n)
Moves back for the given number of elements.
|
Double |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
double |
previousDouble()
Returns the previous element as a primitive type.
|
next, nextDouble, skipskiphasPreviousforEachRemaining, hasNext, removedouble previousDouble()
ListIterator.previous()@Deprecated Double previous()
previous in interface BidirectionalIterator<Double>ListIterator.previous()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<Double>n - the number of elements to skip back.previous()