static Number parseIntOrLong(String s) { long l = parseLong(s); ret longIsInt(l) ? (Number) (int) l : (Number) l; }