@GwtCompatible public abstract class UnmodifiableListIterator<E> extends UnmodifiableIterator<E> implements 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
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
protected UnmodifiableListIterator()
@Deprecated public final void add(E e)
add
in interface ListIterator<E>
e
- the element to insertUnsupportedOperationException
- always@Deprecated public final void set(E e)
set
in interface ListIterator<E>
e
- the element with which to replace the last element returned by
next
or previous
UnsupportedOperationException
- alwaysCopyright © 2010-2014. All Rights Reserved.