|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.comp211.laundry.list.BiList.Node<T>
T
- the type of element being heldprivate static class BiList.Node<T>
Static nested Node class. Embedded as nested class to hide access.
Field Summary | |
---|---|
(package private) T |
item
The element held by this node |
(package private) BiList.Node<T> |
pred
The predecessor and successor nodes |
(package private) BiList.Node<T> |
succ
The predecessor and successor nodes |
Constructor Summary | |
---|---|
BiList.Node()
Constructor that creates an empty, self-referencing node that is used to represent an empty list. |
|
BiList.Node(T i,
BiList.Node<T> p,
BiList.Node<T> s)
Constructor |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
T item
BiList.Node<T> pred
BiList.Node<T> succ
Constructor Detail |
---|
BiList.Node(T i, BiList.Node<T> p, BiList.Node<T> s)
i
- the element heldp
- the predecessor nodes
- the successor node.BiList.Node()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |