Delegate BinaryTraversalMethod<TNode>
Tree enumeration method delegate.
Namespace: ISynergy.Framework.Core.Collections
Assembly: ISynergy.Framework.Core.dll
Syntax
public delegate IEnumerator<TNode> BinaryTraversalMethod<TNode>(BinaryTree<TNode> tree)
where TNode : BinaryNode<TNode>;
Parameters
Type | Name | Description |
---|---|---|
BinaryTree<TNode> | tree | The binary tree to be traversed. |
Returns
Type | Description |
---|---|
IEnumerator<TNode> | An enumerator traversing the tree. |
Type Parameters
Name | Description |
---|---|
TNode | The class type for the nodes of the tree. |