@Override
	public int lastIndexOf(Object elem) {
		for (int i=size()-1; i>=0; i--) {
			if (equalsElem(doGet(i), elem)) {
				return i;
			}
		}
		return -1;
	}
Filter the list using the specified predicate.
Only element which are allowed remain in the list, the others are removed

@param predicate predicate used for filtering
jphp-runtime/src/php/runtime/memory/support/IList.java