E
- public class UnmodifiableIterator<E> extends Object implements Iterator<E>
UnsupportedOperationException
Constructor and Description |
---|
UnmodifiableIterator(Iterator<E> delegate)
Create a new
UnmodifiableIterator for the given delegate |
public UnmodifiableIterator(Iterator<E> delegate)
UnmodifiableIterator
for the given delegate
delegate
- the iterator to decoratepublic void remove()
remove
in interface Iterator<E>
UnsupportedOperationException
Copyright © 2013. All Rights Reserved.