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 delegatedelegate - the iterator to decoratepublic void remove()
remove in interface Iterator<E>UnsupportedOperationExceptionCopyright © 2014. All Rights Reserved.