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

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