Package com.google.common.collect
Class UnmodifiableListIterator<E extends @Nullable Object>
- 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 SummaryConstructors Modifier Constructor Description protectedUnmodifiableListIterator()Constructor for use by subclasses.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(E e)Deprecated.Unsupported operation.voidset(E e)Deprecated.Unsupported operation.- 
Methods inherited from class com.google.common.collect.UnmodifiableIteratorremove
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.IteratorforEachRemaining
 - 
Methods inherited from interface java.util.ListIteratorhasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
 
- 
 
- 
- 
- 
Constructor Detail- 
UnmodifiableListIteratorprotected UnmodifiableListIterator() Constructor for use by subclasses.
 
- 
 - 
Method Detail- 
add@Deprecated public final void add(E e) Deprecated.Unsupported operation.Guaranteed to throw an exception and leave the underlying data unmodified.- Specified by:
- addin interface- ListIterator<E extends @Nullable Object>
- Parameters:
- e- the element to insert
- Throws:
- UnsupportedOperationException- always
 
 - 
set@Deprecated public final void set(E e) Deprecated.Unsupported operation.Guaranteed to throw an exception and leave the underlying data unmodified.- Specified by:
- setin interface- ListIterator<E extends @Nullable Object>
- Parameters:
- e- the element with which to replace the last element returned by- nextor- previous
- Throws:
- UnsupportedOperationException- always
 
 
- 
 
-