java.lang.Object | |
↳ | org.apache.commons.collections.iterators.UnmodifiableIterator |
Decorates an iterator such that it cannot be modified.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Decorates the specified iterator such that it cannot be modified.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.Iterator
|
Decorates the specified iterator such that it cannot be modified.
If the iterator is already unmodifiable it is returned directly.
iterator | the iterator to decorate |
---|
IllegalArgumentException | if the iterator is null |
---|