public interface BooleanBigListIterator extends BooleanBidirectionalIterator, BigListIterator<java.lang.Boolean>
BigListIterator.BigListIterator| Modifier and Type | Method and Description |
|---|---|
default void |
add(boolean k)
Inserts the specified element into the list (optional operation).
|
default void |
add(java.lang.Boolean 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(boolean k)
Replaces the last element returned by
next()
or previous() with the specified element
(optional operation). |
default void |
set(java.lang.Boolean 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, previousBooleanforEachRemaining, forEachRemaining, next, nextBooleanhasPreviousnextIndex, previousIndexdefault void set(boolean k)
next()
or previous() with the specified element
(optional operation).ListIterator.set(Object)default void add(boolean k)
ListIterator.add(Object)@Deprecated default void set(java.lang.Boolean k)
BooleanIterator.next() or BooleanBidirectionalIterator.previous()
with the specified element (optional operation).set in interface BigListIterator<java.lang.Boolean>k - an element.ListIterator.set(Object)@Deprecated default void add(java.lang.Boolean k)
add in interface BigListIterator<java.lang.Boolean>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
BooleanIterator.next() for n times (possibly stopping if Iterator.hasNext()
becomes false).
skip in interface BooleanBidirectionalIteratorskip in interface BooleanIteratorskip in interface ObjectBidirectionalIterator<java.lang.Boolean>skip in interface ObjectIterator<java.lang.Boolean>n - the number of elements to skip.Iterator.next()