Package org.eclipse.collections.impl
Class UnmodifiableIteratorAdapter<E>
- java.lang.Object
-
- org.eclipse.collections.impl.UnmodifiableIteratorAdapter<E>
-
- All Implemented Interfaces:
java.util.Iterator<E>
public class UnmodifiableIteratorAdapter<E> extends java.lang.Object implements java.util.Iterator<E>
An iterator that adapts another iterator and throws unsupported operation exceptions when calls to the remove method are made.
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableIteratorAdapter(java.util.Iterator<? extends E> iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
E
next()
void
remove()
-