PreOrderFlatEnumerator<TKey,TValue> class
Pre Order Traversal Enumerator. The BinarySearchTree is enumerated in the order of Current Value, Left Node, Right Node.
public class PreOrderFlatEnumerator<TKey, TValue> : FlatEnumerator<TKey, TValue>
where TKey : IComparable<TKey>
Public Members
name | description |
---|---|
PreOrderFlatEnumerator(…) | Standard Constructor. |
Protected Members
name | description |
---|---|
override Traverse(…) | Defines a traversal function for shallow copying the elements from the BinarySearchTree into the passed in Collection. |
See Also
- class FlatEnumerator<TKey,TValue>
- namespace TheCodingMonkey.Collections.BST