/**
 * A utility interface for the Updatable Priority Queue ADT to work with an item
 * and its priority simultaneously.
 * @param <T> the item type of the pair.
 * @param <P> the priority type.
 * @author Jadrian Miles
 */
public interface PriorityPair<T, P extends Comparable<? super P>>
        extends Comparable<PriorityPair<T, P>> {
    public T item();
    public P priority();
    //public int compareTo(PriorityPair<T, P> rhs);
}
