/** * A utility interface for the Updatable Priority Queue ADT to work with an item * and its priority simultaneously. * @param the item type of the pair. * @param

the priority type. * @author Jadrian Miles */ public interface PriorityPair> extends Comparable> { public T item(); public P priority(); //public int compareTo(PriorityPair rhs); }