Prioritizable

All objects stored in a PriorityQueue have to extend this class.

I could have defined this as an interface, but this would force me to write getters for accessing the priority value.

Close