static Map zipTwoListsToOrderedMap(L l1, L l2) { int n = min(l(l1), l(l2)); new LinkedHashMap map; for i to n: map.put(l1.get(i), l2.get(i)); ret map; }