Package io.microsphere.collection
Class UnmodifiableIterator<E>
- java.lang.Object
-
- io.microsphere.collection.ReadOnlyIterator<E>
-
- io.microsphere.collection.UnmodifiableIterator<E>
-
- Type Parameters:
E
- the type of elements returned by this iterator
- All Implemented Interfaces:
java.util.Iterator<E>
public class UnmodifiableIterator<E> extends ReadOnlyIterator<E>
UnmodifiableIterator
- Since:
- 1.0.0
- Author:
- Mercy
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableIterator(java.util.Iterator<E> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forEachRemaining(java.util.function.Consumer<? super E> action)
boolean
hasNext()
E
next()
-
Methods inherited from class io.microsphere.collection.ReadOnlyIterator
remove
-
-