Class BinarySearchTree
- Namespace
- AlgorithmsSW.SearchTrees
- Assembly
- AlgorithmsSW.dll
public static class BinarySearchTree
- Inheritance
-
BinarySearchTree
- Inherited Members
Methods
Plain<TKey, TValue>(IComparer<KeyValuePair<TKey, TValue>>)
public static IBinarySearchTree<KeyValuePair<TKey, TValue>> Plain<TKey, TValue>(IComparer<KeyValuePair<TKey, TValue>> comparer)
Parameters
comparer
IComparer<KeyValuePair<TKey, TValue>>
Returns
- IBinarySearchTree<KeyValuePair<TKey, TValue>>
Type Parameters
TKey
TValue
RedBlack<TKey, TValue>(IComparer<KeyValuePair<TKey, TValue>>)
public static IBinarySearchTree<KeyValuePair<TKey, TValue>> RedBlack<TKey, TValue>(IComparer<KeyValuePair<TKey, TValue>> comparer)
Parameters
comparer
IComparer<KeyValuePair<TKey, TValue>>
Returns
- IBinarySearchTree<KeyValuePair<TKey, TValue>>
Type Parameters
TKey
TValue