I don't know much about Priorizable. If I want to do a priority queue of integers, I would just compare each entry(compareTo()) to see where I should put the new element, but what does the "Priorizable" mean, is it an interface or what?. And what does it imply, should I implement a method or something ? is Integer a priorizable ?, please help me with this.
I don't know anything about Priorizable,
which isn't part of the JDK, but unless it extends Comparable
you can't use it with PriorityQueue
as shown in your title. If it does extend Comparable,
that's the only answer you need to your question.