static int indexOfAny(L l, int i, A... x) { while (i < l(l)) if (eqOneOf(l.get(i), x)) ret i; ret -1; }