java.lang.Object | +--org.apache.commons.collections.iterators.UnmodifiableIteratorAll Implemented Interfaces:
static Iterator | decorate(Iterator iterator) Decorates the specified iterator such that it cannot be modified. |
boolean | hasNext() |
Object | next() |
void | remove() |
public static Iterator decorate(Iterator iterator)
- if the iterator is nullpublic boolean hasNext()
public Object next()
public void remove()