jdsl
Class Node
java.lang.Object
|
+--jdsl.Node
- public class Node
- extends java.lang.Object
- implements Position
This is a very simple node class for a linked binary tree
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Node
public Node()
Node
public Node(java.lang.Object o,
Node u,
Node v,
Node w,
Container c)
element
public java.lang.Object element()
- Specified by:
- element in interface Position
setElement
protected void setElement(java.lang.Object o)
container
public Container container()
- Specified by:
- container in interface Position
setContainer
protected void setContainer(Container c)
getLeft
protected Node getLeft()
setLeft
protected void setLeft(Node v)
getRight
protected Node getRight()
setRight
protected void setRight(Node v)
getParent
protected Node getParent()
setParent
protected void setParent(Node v)