Class Summary |
DeleteList |
DeleteList models a list that allows deletion of arbitrary elements:
-- the insertion method adds a new object to the list, and returns
a ``key'' to that object;
-- the deletion method uses the ``key'' to locate and delete the object;
-- the list's contents can be printed from front to rear |
DoubleCell |
DoubleCell models a cell with double links; it is used to assemble
doubly linked list. |
DualSequence |
DualSequence models a sequence of objects so such that:
-- objects at added to the front and to the rear of the sequence;
-- objects can be removed from the front and rear of the sequence;
-- the sequence's contents can be displayed from front to rear and
from rear to front (that is, in reverse order) |