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