New to Telerik UI for WinFormsStart a free 30-day trial

Node of the red-black tree

Definition

Namespace:Telerik.Collections.Generic

Assembly:Telerik.WinControls.dll

Type Parameters:

T

Key type

P

Node's parameter

Syntax:

C#
public class RBTreeNodeBase<T, P> : ITreeNode<T>

Inheritance: objectRBTreeNodeBase<T, P>

Derived Classes: RBOrderedTreeNode<T>RBTreeNode<T>

Implements: ITreeNode<T>

Constructors

Constructor

C#
public RBTreeNodeBase()

Properties

Colour of the node

C#
public RBTreeColor Color { get; }

Key value of the node

C#
public virtual T Key { get; }

Implements: ITreeNode<T>.Key

Left node

C#
public virtual RBTreeNodeBase<T, P> Left { get; }

Parent node

C#
public RBTreeNodeBase<T, P> Parent { get; }

Right node

C#
public virtual RBTreeNodeBase<T, P> Right { get; }