// TODO: use iterator svoid removeWhereParams(Collection c, O... params) { for (O o : cloneList(c)) if (checkFields(o, params)) c.remove(o); }