static Pair singletonMapToPair(Map map) { ret l(map) != 1 ? null : firstKeyAndValue(map); }