CoreClasses Xojo Plugin

AVLTree.Constructor Constructor (console safe)

Constructs a AVLTree that uses strings or integers as keys.

Constructor(
   comparer as Integer)

Parameters

comparer
This value can either be a AVLTree.IntegerCompareProc or AVLTree.StringCompareProc.

Remarks

If AVLTree.IntegerCompareProc is used then the Tree will take Integer keys, if AVLTree.StringCompareProc is used then the tree will take string keys.

If wanting other custom key types then use the 3rd constructor for the AVLTree class.

See Also

AVLTree Class