Class BinarySearchTree<T>.Node
- Namespace
- AlgorithmsSW.SearchTrees
- Assembly
- AlgorithmsSW.dll
public class BinarySearchTree<T>.Node : INode<T>
- Inheritance
-
BinarySearchTree<T>.Node
- Implements
-
INode<T>
- Inherited Members
- Extension Methods
Constructors
Node(T, Node?, Node?)
public Node(T item, BinarySearchTree<T>.Node? leftChild = null, BinarySearchTree<T>.Node? rightRight = null)
Parameters
item
TleftChild
BinarySearchTree<T>.NoderightRight
BinarySearchTree<T>.Node
Fields
LeftChild
public BinarySearchTree<T>.Node? LeftChild
Field Value
RightChild
public BinarySearchTree<T>.Node? RightChild
Field Value
Properties
IsLeaf
public bool IsLeaf { get; }
Property Value
Item
Gets or sets the item in the node.
public T Item { get; set; }
Property Value
- T