|
RedBlackTreeTAdd Method (T)
|
Adds a new item to the tree. If the element already
belongs to this tree, no new element will be added.
Namespace:
Accord.Collections
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public RedBlackTreeNode<T> Add(
T item
)
Public Function Add (
item As T
) As RedBlackTreeNode(Of T)
Request Example
View SourceParameters
- item
- Type: T
The item to be added.
Return Value
Type:
RedBlackTreeNodeTThe node containing the added item.
See Also