|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
T - the item type of the pair.P - the priority type.public interface PriorityPair<T,P extends java.lang.Comparable<? super P>>
A utility interface for the Updatable Priority Queue ADT to work with an item and its priority simultaneously.
| Method Summary | |
|---|---|
T |
item()
|
P |
priority()
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
T item()
P priority()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||