static L takeIndices(L l, int... indices) { new L x; for (int i : indices) x.add(get(l, i)); ret x; }