public static void set10000(List list) {
        //write your code here
        for (int i = 0; i < 10000; i++)
        {
            list.add(new Object());
        }
This code should add the object to the end of the List correct? Is there a set method I am not aware of?