public abstract class AbstractByteBigListIterator extends AbstractByteBidirectionalIterator implements ByteBigListIterator
This implementation provides (deprecated) implementations of ListIterator.previousIndex()
and ListIterator.nextIndex()
that
just invoke the corresponding BigListIterator
methods.
ListIterator
,
BigListIterator
Modifier and Type | Method and Description |
---|---|
void |
add(byte k)
This method just throws an
UnsupportedOperationException . |
void |
add(Byte ok)
Delegates to the corresponding type-specific method.
|
long |
back(long n)
This method just iterates the type-specific version of
AbstractByteBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
void |
set(byte k)
This method just throws an
UnsupportedOperationException . |
void |
set(Byte ok)
Delegates to the corresponding type-specific method.
|
long |
skip(long n)
This method just iterates the type-specific version of
AbstractByteIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false. |
back, previous, previousByte
next, nextByte, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back, previousByte
nextByte, skip
skip
hasPrevious, previous
nextIndex, previousIndex
public void set(Byte ok)
set
in interface ByteBigListIterator
public void add(Byte ok)
add
in interface ByteBigListIterator
public void set(byte k)
UnsupportedOperationException
.set
in interface ByteBigListIterator
public void add(byte k)
UnsupportedOperationException
.add
in interface ByteBigListIterator
public long skip(long n)
AbstractByteIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.skip
in interface BigListIterator<Byte>
n
- the number of elements to skip.public long back(long n)
AbstractByteBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.