static bool startsWithInteger(S s) { if (empty(s)) false; int start = 0; if (s.charAt(0) == '-') ++start; ret l(s) >= start && isDigit(s.charAt(start)); }