Package com.google.common.collect
Class UnmodifiableListIterator<E>
java.lang.Object
com.google.common.collect.UnmodifiableIterator<E>
com.google.common.collect.UnmodifiableListIterator<E>
- All Implemented Interfaces:
Iterator<E>,ListIterator<E>
- Direct Known Subclasses:
AbstractIndexedListIterator
public abstract class UnmodifiableListIterator<E>
extends UnmodifiableIterator<E>
implements ListIterator<E>
- Since:
- 7.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor for use by subclasses. -
Method Summary
Methods inherited from class com.google.common.collect.UnmodifiableIterator
removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.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:
addin interfaceListIterator<E>- Throws:
UnsupportedOperationException- always
-
set
Deprecated.Unsupported operation.Guaranteed to throw an exception and leave the underlying data unmodified.- Specified by:
setin interfaceListIterator<E>- Throws:
UnsupportedOperationException- always
-