static L filterByMethod(Collection c, S method) { new L l; for (A x : c) if (booleanValue(call(x, method))) l.add(x); ret l; }