public abstract class AbstractObjectListIterator<K> extends AbstractObjectBidirectionalIterator<K> implements ObjectListIterator<K>
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(K k)
This method just throws an
UnsupportedOperationException . |
void |
set(K k)
This method just throws an
UnsupportedOperationException . |
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
back
skip
hasPrevious, previous