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 | Constructor and Description |
|---|---|
protected |
AbstractIntListIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int k)
This method just throws an
UnsupportedOperationException. |
void |
add(java.lang.Integer ok)
Delegates to the corresponding type-specific method.
|
void |
set(int k)
This method just throws an
UnsupportedOperationException. |
void |
set(java.lang.Integer ok)
Delegates to the corresponding type-specific method.
|
back, previous, previousIntnext, nextInt, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeback, previousIntnextInt, skipskiphasPrevious, previouspublic void set(java.lang.Integer ok)
set in interface java.util.ListIterator<java.lang.Integer>public void add(java.lang.Integer ok)
add in interface java.util.ListIterator<java.lang.Integer>public void set(int k)
UnsupportedOperationException.set in interface IntListIteratorpublic void add(int k)
UnsupportedOperationException.add in interface IntListIterator