Generated by DocFX

Class RedBlackTreeNode<T>

RedBlackTree<T> node.

Inheritance
System.Object
BinaryNode<RedBlackTreeNode<T>>
RedBlackTreeNode<T>
RedBlackTreeNode<TKey, TValue>
Implements
IBinaryTreeNode<RedBlackTreeNode<T>>
Inherited Members
BinaryNode<RedBlackTreeNode<T>>.Left
BinaryNode<RedBlackTreeNode<T>>.Right
BinaryNode<RedBlackTreeNode<T>>.IsLeaf
BinaryNode<RedBlackTreeNode<T>>.Equals(RedBlackTreeNode<T>)
BinaryNode<RedBlackTreeNode<T>>.Children
Namespace: ISynergy.Framework.Core.Collections
Assembly: ISynergy.Framework.Core.dll
Syntax
public class RedBlackTreeNode<T> : BinaryNode<RedBlackTreeNode<T>>, IBinaryTreeNode<RedBlackTreeNode<T>>
Type Parameters
Name Description
T

The type of the value to be stored.

Constructors

View Source

RedBlackTreeNode()

Constructs a new empty node.

Declaration
public RedBlackTreeNode()
View Source

RedBlackTreeNode(T)

Constructs a node containing the given .

Declaration
public RedBlackTreeNode(T value)
Parameters
Type Name Description
T value

Properties

View Source

Color

Gets or sets this node's color.

Declaration
public RedBlackTreeNodeType Color { get; set; }
Property Value
Type Description
RedBlackTreeNodeType
View Source

Parent

Gets or sets a reference to this node's parent node.

Declaration
public RedBlackTreeNode<T> Parent { get; set; }
Property Value
Type Description
RedBlackTreeNode<T>
View Source

Value

Gets or sets the value associated with this node.

Declaration
public T Value { get; set; }
Property Value
Type Description
T

Methods

View Source

ToString()

Returns a that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A that represents this instance.

Implements

IBinaryTreeNode<TNode>

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)