public abstract class AbstractIntListIterator extends AbstractIntBidirectionalIterator implements IntListIterator
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(int k)
This method just throws an
UnsupportedOperationException. |
void |
add(Integer ok)
Delegates to the corresponding type-specific method.
|
void |
set(int k)
This method just throws an
UnsupportedOperationException. |
void |
set(Integer ok)
Delegates to the corresponding type-specific method.
|
back, previous, previousIntnext, nextInt, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeback, previousIntnextInt, skipskiphasPrevious, previouspublic void set(Integer ok)
set in interface ListIterator<Integer>public void add(Integer ok)
add in interface ListIterator<Integer>public void set(int k)
UnsupportedOperationException.set in interface IntListIteratorpublic void add(int k)
UnsupportedOperationException.add in interface IntListIterator