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