public void removeWhere(IPredicate<E> predicate) {
	    int size = size();
		for (int i=0; i<size; i++) {
			E e = doGet(i);
			if (predicate.test(e)) {
				doRemove(i);
				size--;
				i--;
			}
		}
	}
Removes all elements in the list which match the predicate.

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