public void add(E obj) {
        throw new UnsupportedOperationException("add() is not supported");
    }
Constructor.

@param iterator the iterator to decorate
jphp-runtime/src/php/runtime/common/collections/iterators/UnmodifiableListIterator.java