static MultiSet multiMapKeysMultiSet(final MultiMap mm) { if (mm == null) null; MultiSet out = similarEmptyMultiSet(mm.data); for (A key : keys(mm)) out.add(key, l(mm.get(key))); ret out; }