Lab 6: Application of the LinkedList class
This is a one week lab. It will be due on November 6
What to do.
- Read Section 4.7 Application of the LinkedList class in your text, pages 240-246.
- Section 4.7 describes a case study, Maintaining an Ordered List. It gives
You a lot of design help as well as coding help in writing a generic class
that uses the LinkedList class
- Implement the OrderedList class as described in section 4.7. You will need to
implement the following methods in your class.
---code in the book
- Iterator iterator()
- E get(int index)
---code in the book
- int size()
- E remove(E obj)
- Test your class. Your book provides a class to test your list.
You may want to modify or add to it.
Because a lot of the code for this assignment is given, it is
a one week lab. It involves mostly understanding how to use the library.