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

Linked-List Implementation

This section presents a queue implementation which makes use of the singly-linked list data structure, LinkedList, that is defined in Chapter gif. Program gif introduces the QueueAsLinkedList class. The QueueAsLinkedList extends the AbstractContainer class and implements the Queue interface.

   program6783
Program: QueueAsLinkedList fields.




next up previous contents index

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