static void swap(List> list, int i, int j) Swaps the elements at the specified positions in the specified list.