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