@Override
	public boolean add(E elem) {
		return doAdd(-1, elem);
	}
This method is called internally before elements are allocated or freed.
Override if you need to validity checks.
jphp-runtime/src/php/runtime/memory/support/IList.java