static void mapLike filterListInPlace(O pred, L l) { if (l == null) ret; ListIterator it = listIterator(l); while (it.hasNext()) if (!isTrue(callF(pred, it.next()))) it.remove(); }