|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.rollerjm.graph.Dijkstra.PriorityQueue.QueueElement
Title: graphs
Description: element of the Queue. It contains an object and his priority. Implements Compartable to be used by the TreeSet.
Copyright: Copyright (c) 2002
Company:
Field Summary | |
java.lang.Object |
element
any object |
int |
priority
Priority. |
Constructor Summary | |
Dijkstra.PriorityQueue.QueueElement(java.lang.Object element,
int priority)
|
Method Summary | |
int |
compareTo(java.lang.Object o)
Implementation of compareTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Object element
public int priority
Constructor Detail |
public Dijkstra.PriorityQueue.QueueElement(java.lang.Object element, int priority)
element
- priority
- Method Detail |
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |