@Override
	public void add(int index, E elem)	{
		if (DEBUG_TRACE) {
			debugLog("add: " + index + ", " + elem);
			if (DEBUG_DUMP) debugDump();
		}
		checkIndexAdd(index);
		doAdd(index, elem);
	}
Initialize all instance fields.

@param values	new values array
@param size		new size
jphp-runtime/src/php/runtime/memory/support/GapList.java