|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mhhe.clrs2e.LinkedList.Node
Inner class for nodes of a linked list.
Field Summary | |
java.lang.Object |
info
An object stored in the node. |
LinkedList.Node |
next
Next node in the list. |
LinkedList.Node |
prev
Previous node in the list. |
Constructor Summary | |
LinkedList.Node()
Makes an empty node. |
|
LinkedList.Node(java.lang.Object o)
Makes a node storing an object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public LinkedList.Node next
public LinkedList.Node prev
public java.lang.Object info
Constructor Detail |
public LinkedList.Node()
public LinkedList.Node(java.lang.Object o)
o
- The object to store.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |