public boolean hasNext() {
        return iterator.hasNext();
    }
Constructor.

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