static L listWithoutIndicesInBitSet(L l, BitSet bs) { new L out; for i over l: if (!bs.get(i)) out.add(l.get(i)); ret out; }