AVLTree.GetKeys Method (console safe)
Obtains all keys in the tree in a sorted order, either forwards or backwards.
Parameters
- container
- A instance of a class that implements the IVariantAddable interface. This class will receive the keys.
- backwards
- True if the the keys should come backwards sorted, false if they should be sorted normally.
Remarks
The keys can be put in any container or class that implements the IVariantAddable interface.
Because by nature AVL trees are sorted then this function requires zero effort to sort.
See Also
AVLTree Class