static Map mapWithSingleValue(Iterable l, B b) { new HashMap map; if (l != null) for (A a : l) map.put(a, b); ret map; }