public interface DoubleBigListIterator extends DoubleBidirectionalIterator, BigListIterator<Double>
BigListIterator.BigListIteratorPrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong| Modifier and Type | Method and Description |
|---|---|
default void |
add(double k)
Inserts the specified element into the list (optional operation).
|
default void |
add(Double k)
Deprecated.
Please use the corresponding type-specific method instead.
|
default long |
back(long n)
Moves back for the given number of elements.
|
default void |
set(double k)
Replaces the last element returned by
next() or
previous() with the specified element (optional operation). |
default void |
set(Double k)
Deprecated.
Please use the corresponding type-specific method instead.
|
default int |
skip(int n)
Skips the given number of elements.
|
default long |
skip(long n)
Skips the given number of elements.
|
back, previous, previousDoubleforEachRemaining, next, nextDoubleforEachRemaininghasPreviousnextIndex, previousIndexdefault void set(double k)
next() or
previous() with the specified element (optional operation).ListIterator.set(Object)default void add(double k)
ListIterator.add(Object)@Deprecated default void set(Double k)
DoubleIterator.next() or DoubleBidirectionalIterator.previous() with the specified element (optional operation).set in interface BigListIterator<Double>k - an element.ListIterator.set(Object)@Deprecated default void add(Double k)
add in interface BigListIterator<Double>k - an element.ListIterator.add(Object)default long skip(long n)
The effect of this call is exactly the same as that of
calling next() for n times (possibly stopping
if Iterator.hasNext() becomes false).
n - the number of elements to skip.Iterator.next()default long back(long 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).
n - the number of elements to skip back.BidirectionalIterator.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 DoubleBidirectionalIteratorskip in interface DoubleIteratorskip in interface ObjectBidirectionalIterator<Double>skip in interface ObjectIterator<Double>n - the number of elements to skip.Iterator.next()Copyright © 2020. All rights reserved.