static L nValuesFromMultiMapByKeyDesc(int n, MultiMap mm) { new L out; for (A key : keysDesc(mm)) { int need = n-l(out); out.addAll(takeFirst(need, mm.get(key))); if (l(out) >= n) break; } ret out; }