CSE100
Project #0
Due: 2008-09-30  11:59:00PM PDT.


Generic Linked List

In this first assignment, you will implement a linked list class using Java generics. Your class must support the following operations:



For example, the following code:

    MyList<String> list = new MyList<String>();
    list.insertDataAt(new String("is"), 0);
    list.insertDataAt(new String("CSE 100"), 0);
    list.insertDataAt(new String("awesome."), 2);
    list.printAll();
    list.insertDataAt(new String("really"), 2);
    list.printAll();


should display:

    CSE100 is awesome.
    CSE100 is really awesome.


For an introduction to Java generics, see the tutorial at: http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf



Guidelines




Turning in

When your program is finished, create a tar file including your source code and class files by running:

    tar czvf LASTNAME.tar.gz *.java *.class README

Then, submit your tar file by running:

    turnin -c cs100f -p p0 LASTNAME.tar.gz