java.lang.Object
com.google.common.collect.UnmodifiableIterator<E>
com.google.common.collect.UnmodifiableListIterator<E>
- All Implemented Interfaces:
Iterator<E>, ListIterator<E>
@GwtCompatible
public abstract class UnmodifiableListIterator<E extends @Nullable Object>
extends UnmodifiableIterator<E>
implements ListIterator<E>
- Since:
- 7.0
- Author:
- Louis Wasserman
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor for use by subclasses. -
Method Summary
Methods inherited from class UnmodifiableIterator
remove
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Iterator
forEachRemaining
Methods inherited from interface ListIterator
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
-
Constructor Details
-
UnmodifiableListIterator
protected UnmodifiableListIterator()Constructor for use by subclasses.
-
-
Method Details
-
add
Deprecated.Unsupported operation.Guaranteed to throw an exception and leave the underlying data unmodified.- Specified by:
add
in interfaceListIterator<E extends @Nullable Object>
- Throws:
UnsupportedOperationException
- always
-
set
Deprecated.Unsupported operation.Guaranteed to throw an exception and leave the underlying data unmodified.- Specified by:
set
in interfaceListIterator<E extends @Nullable Object>
- Throws:
UnsupportedOperationException
- always
-