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, previousCharnext, nextChar, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeback, previousCharnextChar, skipskiphasPrevious, previousforEachRemainingpublic 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 CharListIteratorpublic void add(char k)
UnsupportedOperationException.add in interface CharListIterator