|
RedBlackTreeT Constructor (IComparerT, Boolean)
|
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<T> comparer,
bool allowDuplicates
)
Public Sub New (
comparer As IComparer(Of T),
allowDuplicates As Boolean
)
Request Example
View SourceParameters
- comparer
- Type: System.Collections.GenericIComparerT
The element comparer to be used to order elements in the tree. - allowDuplicates
- Type: SystemBoolean
Pass true to allow duplicate elements
in the tree; false otherwise.
See Also