static L indicesOfAny(L l, Set set) { ret indicesOfAny(l, set, 0); } static L indicesOfAny(L l, Set set, int startIdx) { new L x; if (nempty(set)) { int n = l(l); for (int i = startIdx; i < n; i++) if (set.contains(l.get(i))) x.add(i); } ret x; }