@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.
|
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeforEachRemainingprotected 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 previousUnsupportedOperationException - alwaysCopyright © 2010–2017. All rights reserved.