public void setAll(int index, IList<? extends E> list) {
    	int listSize = list.size();
        checkRange(index, listSize);

        doReplaceAll(index, listSize, list);
    }
Sets the specified elements.

@param index index of first element to set
@param list  list with elements to set
@throws 		IndexOutOfBoundsException if the range is invalid
jphp-runtime/src/php/runtime/memory/support/IList.java