Details
Description
While reading this code, I did a little bit of cleanup:
- added some javadoc
- rather than using a Map<Priority, Integer> for keeping counts, switched to Guava's HashMultiset, which makes a simpler API.
While reading this code, I did a little bit of cleanup: