Java: First Contact

Roger Garside and John Mariani, Computing Department, Lancaster University

Course Technology / September 1997 / ISBN 1-85032-316-X
46.65 US dollars / 21.95 pounds sterling

Chapter 15 Examples

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