@GwtCompatible public abstract class UnmodifiableListIterator<E> extends UnmodifiableIterator<E> implements java.util.ListIterator<E>
Modifier | Constructor and Description |
---|---|
protected |
UnmodifiableListIterator()
Constructor for use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
void |
add(E e)
Deprecated.
Unsupported operation.
|
void |
set(E e)
Deprecated.
Unsupported operation.
|
remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected UnmodifiableListIterator()
@Deprecated public final void add(E e)
add
in interface java.util.ListIterator<E>
e
- the element to insertjava.lang.UnsupportedOperationException
- always@Deprecated public final void set(E e)
set
in interface java.util.ListIterator<E>
e
- the element with which to replace the last element returned by
next
or previous
java.lang.UnsupportedOperationException
- alwaysCopyright © 2010–2019 JBoss by Red Hat. All rights reserved.