BidirectionalIterator<K>, ObjectBidirectionalIterator<K>, ObjectIterator<K>, ObjectListIterator<K>, java.util.Iterator<K>, java.util.ListIterator<K>ObjectIterators.EmptyIterator, ObjectIterators.UnmodifiableListIteratorpublic 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 | Constructor | Description |
|---|---|---|
protected |
AbstractObjectListIterator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(K k) |
This method just throws an
UnsupportedOperationException. |
void |
set(K k) |
This method just throws an
UnsupportedOperationException. |
backremove, skiphasPrevious, previoushasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackskip