Code for the binary heap and strict binary heap implementations of a priority queue can be found in
BinaryHeap.java
StrictBinaryHeap.java
PriorityQueueDemo.java