void removeWhere(bool test(E element))