 Data Structures and Algorithms 
with Object-Oriented Design Patterns in Java
Data Structures and Algorithms 
with Object-Oriented Design Patterns in Java 
  
  
  
  
 Just like the StackAsLinkedList class, the implementation of the QueueAsLinkedList class requires only one field--list. The list field is an instance of the LinkedList class. It is used to keep track of the elements in the queue.
 
  
  
  
  
 
 Copyright © 1998 by Bruno R. Preiss, P.Eng.  All rights reserved.
Copyright © 1998 by Bruno R. Preiss, P.Eng.  All rights reserved.