
Choose names for instance
variables and methods that
illustrate their function
within the data structure.
Your class will be easier for
others and yourself to
understand at mainte-
nance time.Provide a
toString method that trav-
erses the list.This is helpful
in testing the other meth-
ods of the class.In particu-
lar,traversing the list after
calling the insert or delete
methods can verify that an
item was correctly added
or removed.
SOFTWARE
ENGINEERING TIP
Do not provide an accessor
or mutator for the head
node instance variable of
the linked list.This will pro-
tect the head node from
being accessed or changed
outside the class.
SOFTWARE
ENGINEERING TIP
Do not include ...