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(java.lang.Short ok)
Delegates to the corresponding type-specific method.
|
void |
set(short k)
This method just throws an
UnsupportedOperationException . |
void |
set(java.lang.Short ok)
Delegates to the corresponding type-specific method.
|
back, previous, previousShort
next, nextShort, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
back, previousShort
nextShort, skip
skip
hasPrevious, previous
public void set(java.lang.Short ok)
set
in interface java.util.ListIterator<java.lang.Short>
public void add(java.lang.Short ok)
add
in interface java.util.ListIterator<java.lang.Short>
public void set(short k)
UnsupportedOperationException
.set
in interface ShortListIterator
public void add(short k)
UnsupportedOperationException
.add
in interface ShortListIterator