static int indexOfAnyIC(L l, int i, S... x) { while (i < l(l)) if (eqOneOf(l.get(i), x)) ret i; else ++i; ret -1; }