Class RedBlackTreeNode<TKey, TValue>
RedBlackTree<T> node.
Inheritance
System.Object
RedBlackTreeNode<KeyValuePair<TKey, TValue>>
RedBlackTreeNode<TKey, TValue>
Implements
Inherited Members
Namespace: ISynergy.Framework.Core.Collections
Assembly: ISynergy.Framework.Core.dll
Syntax
public class RedBlackTreeNode<TKey, TValue> : RedBlackTreeNode<KeyValuePair<TKey, TValue>>, IBinaryTreeNode<RedBlackTreeNode<KeyValuePair<TKey, TValue>>>
Type Parameters
Name | Description |
---|---|
TKey | The type of the key that identifies the value. |
TValue | The type of the values stored in this node. |
Constructors
View SourceRedBlackTreeNode()
Constructs a new empty node.
Declaration
public RedBlackTreeNode()
RedBlackTreeNode(TKey, TValue)
Constructs a new node containing the given key and value pair.
Declaration
public RedBlackTreeNode(TKey key, TValue value)
Parameters
Type | Name | Description |
---|---|---|
TKey | key | |
TValue | value |
RedBlackTreeNode(KeyValuePair<TKey, TValue>)
Constructs a new node containing the given
key and value pair.Declaration
public RedBlackTreeNode(KeyValuePair<TKey, TValue> item)
Parameters
Type | Name | Description |
---|---|---|
KeyValuePair<TKey, TValue> | item |