static int smartIndexOfIC(L l, S sub) { ret smartIndexOfIC(l, sub, 0); } static int smartIndexOfIC(L l, S sub, int start) { int i = indexOfIC(l, sub, start); ret i < 0 ? l(l) : i; }