static bool startsWithOneOf(S s, S... l) { for (S x : l) if (startsWith(s, x)) ret true; ret false; }