Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

item
Type: T
The item to be added.

Return Value

Type: RedBlackTreeNodeT
The node containing the added item.
See Also