public abstract class AbstractBooleanListIterator extends AbstractBooleanBidirectionalIterator implements BooleanListIterator
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 |
AbstractBooleanListIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(boolean k)
This method just throws an
UnsupportedOperationException. |
void |
add(java.lang.Boolean ok)
Delegates to the corresponding type-specific method.
|
void |
set(boolean k)
This method just throws an
UnsupportedOperationException. |
void |
set(java.lang.Boolean ok)
Delegates to the corresponding type-specific method.
|
back, previous, previousBooleannext, nextBoolean, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeback, previousBooleannextBoolean, skipskiphasPrevious, previouspublic void set(java.lang.Boolean ok)
set in interface java.util.ListIterator<java.lang.Boolean>public void add(java.lang.Boolean ok)
add in interface java.util.ListIterator<java.lang.Boolean>public void set(boolean k)
UnsupportedOperationException.set in interface BooleanListIteratorpublic void add(boolean k)
UnsupportedOperationException.add in interface BooleanListIterator