public interface ByteBigListIterator extends ByteBidirectionalIterator, BigListIterator<java.lang.Byte>
BigListIterator
.BigListIterator
Modifier and Type | Method and Description |
---|---|
default void |
add(byte k)
Inserts the specified element into the list (optional operation).
|
default void |
add(java.lang.Byte 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(byte k)
Replaces the last element returned by
next() or
previous() with the specified element (optional operation). |
default void |
set(java.lang.Byte 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, previousByte
forEachRemaining, forEachRemaining, forEachRemaining, next, nextByte
hasPrevious
nextIndex, previousIndex
default void set(byte k)
next()
or
previous()
with the specified element (optional operation).ListIterator.set(Object)
default void add(byte k)
ListIterator.add(Object)
@Deprecated default void set(java.lang.Byte k)
ByteIterator.next()
or ByteBidirectionalIterator.previous()
with the specified element (optional operation).set
in interface BigListIterator<java.lang.Byte>
k
- an element.ListIterator.set(Object)
@Deprecated default void add(java.lang.Byte k)
add
in interface BigListIterator<java.lang.Byte>
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 ByteIterator.next()
for n
times (possibly stopping if Iterator.hasNext()
becomes false).
skip
in interface ByteBidirectionalIterator
skip
in interface ByteIterator
skip
in interface ObjectBidirectionalIterator<java.lang.Byte>
skip
in interface ObjectIterator<java.lang.Byte>
n
- the number of elements to skip.Iterator.next()