Package com.google.common.collect
Class UnmodifiableIterator<E>
java.lang.Object
com.google.common.collect.UnmodifiableIterator<E>
- All Implemented Interfaces:
Iterator<E>
- Direct Known Subclasses:
AbstractIterator,AbstractSequentialIterator,UnmodifiableListIterator
@GwtCompatible
@Deprecated(since="2022-12-01")
public abstract class UnmodifiableIterator<E>
extends Object
implements Iterator<E>
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
An iterator that does not support
remove().- Since:
- 2.0 (imported from Google Collections Library)
-
Method Details
-
remove
Deprecated.Unsupported operation.Guaranteed to throw an exception and leave the underlying data unmodified.- Specified by:
removein interfaceIterator<E>- Throws:
UnsupportedOperationException- always
-