Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

Chapter 17. Case Study 4—A Queue Simulation > 17.8 CODE LISTINGS - Pg. 353

Case Study 4--A Queue Simulation 353 you now have a sound knowledge of the subjects we have covered and that you are equipped to apply it and to pursue it further if you wish or need to do so. At the end of the Preface, I stated my wish that Introducing Data Structures with Java should meet its aims "in a supportive, useful and enjoyable way". I hope that it has done so! 17.8 CODE LISTINGS -------------------------------------------------Version 1------------------------------------------------- /* Class PQNode for Priority Queue Introducing Data Structures with Java David Cousins 2010 */ public class PQNode { int priority; PQNode next; PQNode back; public PQNode(int value) { priority = value; next = null;