Next:
The Basic Design:
Up:
Experiments in Object Oriented
Previous:
Exercises:
The CHAR LIST DATA TYPE:
We start with the CHAR_LIST_CORE class which is the parent to the singly and doubley linked lists:
The Basic Design:
The CHAR_SLLIST Implementation Details:
The Overloaded Input/ Output Operators:
The print and grab Agents:
The Constructors:
The Overloaded Equal:
The Destructor Call for the SLLIST class:
Building a List:
How Many Elements Are in the List?
Delete an Element From the List:
Insertion Agents:
The Protected Search Elements:
The MergeSort Agent:
The CHAR_DLLIST Implementation Details:
Overloaded I/O Methods:
The print and grab Agents:
Iterators:
The Header File in Outline:
The Iterator Definitions:
Using the Iterators:
The Constructors:
The Overloaded Equal:
The Destructor Call for the DLLIST class:
Building a List:
How Many Elements Are in the List?
Delete an Element From the List:
Is A Given Element In The List?
Insertion Agents:
The Protected Search Elements:
The DLLIST MergeSort Agent:
Exercises:
Using Various SLLIST Objects:
Testing INT_SLLIST Instantiation:
Testing the delete Operator from the Front:
Testing the Delete Operator from the Inside:
Testing the Overloaded Equal:
Testing the Insertion Agents:
Testing MergeSort:
Using Various DLLIST Objects:
Testing the CHAR_DLLIST Class:
Testing the INT_DLLIST Instantiation:
Testing the FLOAT_DLLIST Instantiation
Exercises:
Jim Peterson
1999-04-22