Class OTNode

java.lang.Object
   |
   +----Node
           |
           +----TreeNode
                   |
                   +----OTNode

class OTNode
extends TreeNode
A hierarchical tree node that contains opening move data.

Version:
1.00
Author:
Bill Lorton

Constructor Index

 o OTNode()
The OTNode constructor.

Method Index

 o data()
Gets the opening data associated with this node.
 o move()
Gets the move associated with this node.
 o println()
For debugging purposes only.
 o setData(Opening)
Sets the opening data.
 o setMove(String)
Sets the single move associated with this node.

Constructors

 o OTNode
 public OTNode()
The OTNode constructor.

Methods

 o setData
 public void setData(Opening data)
Sets the opening data.

Parameters:
data - the opening to associate with this node
 o setMove
 public void setMove(String move)
Sets the single move associated with this node.

Parameters:
move - a single move which is a two character sequence
 o data
 public Opening data()
Gets the opening data associated with this node.

Returns:
the opening data for this node
 o move
 public String move()
Gets the move associated with this node.

Returns:
the single move for this node
 o println
 public void println()
For debugging purposes only.