static L asForPairsWithB(B b, Iterable> l) { new L out; fOr (Pair p : l) if (eq(pairB(p), b)) out.add(pairA(p)); ret out; } static L asForPairsWithB(Iterable> l, B b) { ret asForPairsWithB(b, l); }