Priority is a max heap-based priority queue implemented in Java.