/** * Gets an immutable version of an {@link Iterator}. The returned object * will always throw an {@link UnsupportedOperationException} for * the {@link Iterator#remove} method. * * @param iterator the iterator to make immutable * @return an immutable version of the iterator */ public static Iterator unmodifiableIterator(Iterator iterator) { return UnmodifiableIterator.decorate(iterator); }
/** * Gets an immutable version of an {@link Iterator}. The returned object * will always throw an {@link UnsupportedOperationException} for * the {@link Iterator#remove} method. * * @param iterator the iterator to make immutable * @return an immutable version of the iterator */ public static Iterator unmodifiableIterator(Iterator iterator) { return UnmodifiableIterator.decorate(iterator); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(parent.keySet().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator iterator() { return UnmodifiableIterator.decorate(getCollection().iterator()); }
public Iterator makeFullIterator() { return UnmodifiableIterator.decorate(testList.iterator()); }
public Iterator makeEmptyIterator() { return UnmodifiableIterator.decorate(Collections.EMPTY_LIST.iterator()); }