public abstract class AbstractShortBigListIterator extends AbstractShortBidirectionalIterator implements ShortBigListIterator
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(short k)
This method just throws an
UnsupportedOperationException. |
void |
add(Short ok)
Delegates to the corresponding type-specific method.
|
long |
back(long n)
This method just iterates the type-specific version of
AbstractShortBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
void |
set(short k)
This method just throws an
UnsupportedOperationException. |
void |
set(Short ok)
Delegates to the corresponding type-specific method.
|
long |
skip(long n)
This method just iterates the type-specific version of
AbstractShortIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false. |
back, previous, previousShortnext, nextShort, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previousShortnextShort, skipskiphasPrevious, previousnextIndex, previousIndexpublic void set(Short ok)
set in interface ShortBigListIteratorpublic void add(Short ok)
add in interface ShortBigListIteratorpublic void set(short k)
UnsupportedOperationException.set in interface ShortBigListIteratorpublic void add(short k)
UnsupportedOperationException.add in interface ShortBigListIteratorpublic long skip(long n)
AbstractShortIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.skip in interface BigListIterator<Short>n - the number of elements to skip.public long back(long n)
AbstractShortBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.