/// <summary> /// Empties the tree /// </summary> public override void Purge() { mKey = null; mLeft = null; mRight = null; }
/// <summary> /// Constructor /// </summary> /// <param name="mKey"></param> /// <param name="mLeft"></param> /// <param name="mRight"></param> public BinaryTree(object mKey, BinaryTree mLeft, BinaryTree mRight) { this.mKey = mKey; this.mLeft = mLeft; this.mRight = mRight; }