static Map pairsToCIMap(Collection> l) { Map map = ciMap(); if (l != null) for (Pair p : l) map.put(p.a, p.b); ret map; }