Held: Monday, March 30, 1998 and Tuesday, March 31, 1998.
Overview: In this lab, you will convert an implementation of singly-linked lists to an implementation of doubly-linked lists. You will start by observing the behavior of the implementation of singly-linked lists and then will add and test methods one-by-one.
Purpose: The primary goal of this assignment is to strengthen your understanding of the implementation and use of linked lists.
Notes: This laboratory is in a somewhat different form than previous laboratories. In particular, while previous laboratories have been somewhat open-ended, this lab has more step-by-step details. I'd be interested in learning which form you prefer and why.
You may also note that I've tried to format the Java code. Let me know if you think this is a help or a hindrance.
Finally, I've set this lab up as a form. You need not use the form, but you may certainly fill in the various areas and submit it to me. I would like to know whether you consider such form-based labs useful.
Required Code Files:
Library Files:
List interface which
LinkedList.java implements.
BinaryNode class which
LinkedList.java uses.
ListTester class which
LinkedListTester.java uses.
Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.
Source text last modified Tue Mar 31 08:24:01 1998.
This page generated on Tue Mar 31 13:58:01 1998 by SiteWeaver.
Contact our webmaster at rebelsky@math.grin.edu