static bool eqOneOf(O o, O... l) { for (O x : l) if (eq(o, x)) ret true; ret false; }