static Float getFloat(Map map, O key) { ret map == null ? null : (Float) map.get(key); } static Float getFloat(L l, int idx) { ret (Float) get(l, idx); } static Float getFloat(O o, O key) { if (o instanceof Map) ret getFloat((Map) o, key); if (key instanceof S) ret (Float) getOpt(o, (S) key); throw fail("Not a string key: " + getClassName(key)); }