Logo Data Structures and Algorithms with Object-Oriented Design Patterns in C++
next up previous contents index

Member Variables

Just like the StackAsLinkedList class, the implementation of the QueueAsLinkedList class requires only one member variable--list. The variable list is a linked list of pointers to Objects. It is used to keep track of the elements in the queue.


next up previous contents index

Bruno Copyright © 1997 by Bruno R. Preiss, P.Eng. All rights reserved.