static TreeMap asCaseInsensitiveMap(Map map) { if (isCIMap(map)) ret (TreeMap) map; TreeMap m = ciMap(); putAll(m, map); ret m; }