static L mapPairsToList(Iterable> l, F2 f) { L x = emptyList(l); if (l != null) for (Pair p : l) x.add(callF(f, p.a, p.b)); ret x; } static L mapPairsToList(Iterable> l, IF2 f) { L x = emptyList(l); if (l != null) for (Pair p : l) x.add(f.get(p.a, p.b)); ret x; } static L mapLike mapPairsToList(O f, Iterable> l) { L x = emptyList(l); if (l != null) for (Pair p : l) x.add(callF(f, p.a, p.b)); ret x; }