com.google.common.collect
@GwtCompatible public abstract class UnmodifiableIterator<E> extends java.lang.Object implements java.util.Iterator<E>
remove()
.Modifier | Constructor and Description |
---|---|
protected |
UnmodifiableIterator()
Constructor for use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
void |
remove()
Guaranteed to throw an exception and leave the underlying data unmodified.
|
protected UnmodifiableIterator()
public final void remove()
remove
in interface java.util.Iterator<E>
java.lang.UnsupportedOperationException
- always