|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.mhhe.clrs2e.DisjointSetLinkedList.Node
Private inner class for nodes of the list.
| Field Summary | |
DisjointSetLinkedList.Node |
next
This node's successor in the list. |
DisjointSetLinkedList.DisjointSet |
representative
The set containing this node. |
java.lang.Object |
theObject
Reference to the object. |
| Constructor Summary | |
DisjointSetLinkedList.Node(java.lang.Object x)
Makes a node for a given object. |
|
| Method Summary | |
java.lang.String |
toString()
Returns the String representation of this
node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.Object theObject
public DisjointSetLinkedList.Node next
public DisjointSetLinkedList.DisjointSet representative
| Constructor Detail |
public DisjointSetLinkedList.Node(java.lang.Object x)
x - The object in this node.| Method Detail |
public java.lang.String toString()
String representation of this
node.
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||