l.set(i, l.set(j, l.get(i)));
List<Object> list = (List<Object>) l; list.set(i, list.set(j, list.get(i)));
  public static void swap(List<? super Object> l, int i, int j)  {    l.set(i, l.set(j, l.get(i)));  }