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
next() for
at most n times, stopping if Iterator.hasNext() becomes
false. |
back, previous, previousBytenext, nextByte, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previousBytenextByte, skipskiphasPrevious, previousforEachRemaining, hasNext, next, removenextIndex, previousIndexpublic void set(Byte ok)
set in interface ByteBigListIteratorpublic void add(Byte ok)
add in interface ByteBigListIteratorpublic void set(byte k)
UnsupportedOperationException.set in interface ByteBigListIteratorpublic void add(byte k)
UnsupportedOperationException.add in interface ByteBigListIteratorpublic long skip(long n)
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.