static LinkedHashMap listToMapWithKeys(L l, A... keys) { new LinkedHashMap map; int n = min(l(l), l(keys)); for i to n: map.put(keys[i], l.get(i)); ret map; }