public void clear() {
        throw new UnsupportedOperationException();
    }
Constructor that wraps (not copies).

@param list the list to decorate, must not be null
@throws IllegalArgumentException if list is null
jphp-runtime/src/php/runtime/common/collections/list/UnmodifiableList.java