public abstract class AbstractCharListIterator extends AbstractCharBidirectionalIterator implements CharListIterator
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(char k)
This method just throws an
UnsupportedOperationException . |
void |
add(Character ok)
Delegates to the corresponding type-specific method.
|
void |
set(char k)
This method just throws an
UnsupportedOperationException . |
void |
set(Character ok)
Delegates to the corresponding type-specific method.
|
back, previous, previousChar
next, nextChar, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
back, previousChar
nextChar, skip
skip
hasPrevious, previous
public void set(Character ok)
set
in interface ListIterator<Character>
public void add(Character ok)
add
in interface ListIterator<Character>
public void set(char k)
UnsupportedOperationException
.set
in interface CharListIterator
public void add(char k)
UnsupportedOperationException
.add
in interface CharListIterator