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; }