static Pair> splitAccordingToPredicate(O pred, Collection l) { new L f; new L t; for (A a : unnull(l)) (isTrue(callF(pred, a)) ? t : f).add(a); ret pair(f, t); }