public abstract class AbstractShortListIterator extends AbstractShortBidirectionalIterator implements ShortListIterator
This class provides trivial type-specific implementations of set() and add() which
throw an UnsupportedOperationException. For primitive types, it also
provides a trivial implementation of set() and add() that just invokes the type-specific one.
ListIterator| 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.
|
void |
set(short k)
This method just throws an
UnsupportedOperationException. |
void |
set(Short ok)
Delegates to the corresponding type-specific method.
|
back, previous, previousShortnext, nextShort, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeback, previousShortnextShort, skipskiphasPrevious, previouspublic void set(Short ok)
set in interface ListIterator<Short>public void add(Short ok)
add in interface ListIterator<Short>public void set(short k)
UnsupportedOperationException.set in interface ShortListIteratorpublic void add(short k)
UnsupportedOperationException.add in interface ShortListIterator