You can download each file individually, or download a Unix zip file containing all the files mentioned (including this one).
in this chapter we use a copy of the code in "QueueElement.java" from chapter 11
QueueEmptyException.java - the source code for the "QueueEmptyException" class example referred to in section 15.2 (pp361-2)
QueueFullException.java - the source code for the "QueueFullException" class
PriorityQueue.java - the source code for the array version of "PriorityQueue" (using exceptions) referred to in sections 15.3 and 15.4 (pp362-9). Note: this is not the same code as the file of the same name in chapter 11.
Return to main page | examples page
last updated: 5th February 1998