org.apache.commons.collections.iterators
public final class UnmodifiableIterator extends Object implements Iterator, Unmodifiable
public static Iterator decorate(Iterator iterator)
If the iterator is already unmodifiable it is returned directly.
iterator
- the iterator to decorateIllegalArgumentException
- if the iterator is nullCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.