How do I get a PriorityQueue to sort on what I want it to sort on?

Also, is there a difference between the offer and add methods?

12 Answers
12

Leave a Reply

Your email address will not be published. Required fields are marked *