C# Class AbstractBinaryTree, code

Show file Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
Insert ( item ) : T>.AbstractBinaryTree

Protected Methods

Method Description
CreateNode ( AbstractBinaryTree, left, value, AbstractBinaryTree, right ) : TreeType,
CreateX ( left, val, right ) : TreeType,
IsNil ( ) : bool

Method Details

CreateNode() protected abstract method

protected abstract CreateNode ( AbstractBinaryTree, left, value, AbstractBinaryTree, right ) : TreeType,
left AbstractBinaryTree,
right AbstractBinaryTree,
return TreeType,

CreateX() protected abstract method

protected abstract CreateX ( left, val, right ) : TreeType,
return TreeType,

Insert() public method

public Insert ( item ) : T>.AbstractBinaryTree
return T>.AbstractBinaryTree

IsNil() protected abstract method

protected abstract IsNil ( ) : bool
return bool