static Cl lambdaMapLike filterCollectionInPlace(IPred pred, Cl l) {
if (l == null) ret l;
var it = l.iterator();
while (it.hasNext())
if (!pred.get(it.next()))
it.remove();
ret l;
}
static Cl lambdaMapLike filterCollectionInPlace(Cl l, IPred pred) {
ret filterCollectionInPlace(pred, l);
}