Class
RBTreeNodeBase<T, P>

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:

cs-api-definition
public class RBTreeNodeBase<T, P> : ITreeNode<T>

Inheritance: objectRBTreeNodeBase<T, P>

Derived Classes: RBOrderedTreeNode<T>RBTreeNode<T>

Implements: ITreeNode<T>

Constructors

RBTreeNodeBase()

Constructor

Declaration

cs-api-definition
public RBTreeNodeBase()

Properties

Color

Colour of the node

Declaration

cs-api-definition
public RBTreeColor Color { get; }

Property Value

RBTreeColor

Key

Key value of the node

Declaration

cs-api-definition
public virtual T Key { get; }

Property Value

T

Implements ITreeNode<T>.Key

Left

Left node

Declaration

cs-api-definition
public virtual RBTreeNodeBase<T, P> Left { get; }

Property Value

RBTreeNodeBase<T, P>

Parent

Parent node

Declaration

cs-api-definition
public RBTreeNodeBase<T, P> Parent { get; }

Property Value

RBTreeNodeBase<T, P>

Right

Right node

Declaration

cs-api-definition
public virtual RBTreeNodeBase<T, P> Right { get; }

Property Value

RBTreeNodeBase<T, P>