Click or drag to resize
Accord.NET (logo)

RedBlackTreeTKey, TValue Constructor (IComparerKeyValuePairTKey, TValue)

Constructs a new RedBlackTreeT using the provided IComparerT implementation.

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public RedBlackTree(
	IComparer<KeyValuePair<TKey, TValue>> comparer
)
Request Example View Source

Parameters

comparer
Type: System.Collections.GenericIComparerKeyValuePairTKey, TValue
The element comparer to be used to order elements in the tree.
See Also