Due: Monday, Dec 8th by 11:59 PM
Import CS201_Lab21.zip (File->Import...->General->Existing Projects into Workspace->Archive File). You should see a project called CS201_Lab21 in the Package Explorer.
The starting code contains a partially-complete implementation of a LinkedList class. Your task is to complete the size, add, get, set, and remove methods. The behavior of these methods should be the usual behavior for list classes:
A JUnit test class, LinkedListTest, is provided.
Note that when you are done, the testIteratorRemove test will still fail. Implementing removal of an element of a linked list using an iterator is challenging.
The remove method should remove the node containing the selected element from the list.
For each method, sketch out an algorithm on paper before implementing it. Drawing diagrams, especially in the case where the list structure is being modified, is extremely helpful.