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, previousInt
next, nextInt, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
back, previousInt
nextInt, skip
skip
hasPrevious, previous
public 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 IntListIterator
public void add(int k)
UnsupportedOperationException
.add
in interface IntListIterator