Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TreeNode ¶
func Deserialize ¶
func TreeNodeInterFaceToStruct ¶
func TreeNodeInterFaceToStruct(n TreeNodeInterFace) *TreeNode
func (*TreeNode) GetLeft ¶
func (t *TreeNode) GetLeft() TreeNodeInterFace
func (*TreeNode) GetRight ¶
func (t *TreeNode) GetRight() TreeNodeInterFace
func (*TreeNode) SetLeft ¶
func (t *TreeNode) SetLeft(n TreeNodeInterFace)
func (*TreeNode) SetRight ¶
func (t *TreeNode) SetRight(n TreeNodeInterFace)
type TreeNodeInterFace ¶
type TreeNodeInterFace interface { GetVal() int SetVal(int) GetLeft() TreeNodeInterFace SetLeft(TreeNodeInterFace) GetRight() TreeNodeInterFace SetRight(TreeNodeInterFace) }
func TreeNodeConstructor ¶
func TreeNodeConstructor() TreeNodeInterFace
Click to show internal directories.
Click to hide internal directories.