public void fill(E elem) {
    	int size = size();
        for (int i=0; i<size; i++) {
            doSet(i, elem);
        }
    }
Fill list.

@param elem  element used for filling
jphp-runtime/src/php/runtime/memory/support/IList.java