InOrderFlatEnumerator<TKey,TValue> class

In Order Traversal Enumerator. The BinarySearchTree is enumerated in the order of Left Node, Current Value, Right Node.

public class InOrderFlatEnumerator<TKey, TValue> : FlatEnumerator<TKey, TValue>
    where TKey : IComparable<TKey>

Public Members

name description
InOrderFlatEnumerator(…) 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