Wyo Java Ch20Proj9 PriorityQueue Implemented As Heap ArrayList |
Modify the file named PriorityQueueImplementationProject.java from the Handout folder so it implements a Priority Queue as a min-heap which in turn is based on an underlying ArrayList . Do not make any changes to the Patient class or the client class. You can assume that there are all Patient objects have different priorities (i.e. no duplicates.) When a Patient object is removed from the Priority Queue the object with the lowest health value should be removed. Your program must follow the class Coding Standards. Save all of the files associated with this assignment to the appropriate network folder. Submit the printed code stapled to screen capture of the runtime output. |