I have a multi dimensional array as
private int numbers[][] ={{ 170, 100 },{ 270, 100 },{ 370, 100 },{ 470, 100 }}
Now i am changing there positions using Collections.shuffle(Arrays.asList(numbers));
Now i want to remove the the first item from the shuffled array i.e if the first item is {170,100} , it must be deleted from the array. For that, i tried to do something like this
List<int[]> points =Arrays.asList(numbers);
Collections.shuffle(points);
points.remove(0);
but it is throwing java.lang.UnsupportedOperationException could anybody help me out to remove the first element from the two dimensional day.