LevelOrderFlatEnumerator<TKey,TValue> class
Level Order Flat Enumerator. The Binary Search Tree is enumerated breadth first at time of Enumerator construction.
public class LevelOrderFlatEnumerator<TKey, TValue> : FlatEnumerator<TKey, TValue>
where TKey : IComparable<TKey>
Public Members
name | description |
---|---|
LevelOrderFlatEnumerator(…) | 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