| CoreClasses REALbasic Plugin |
|
AVLTree.Add Method
Adds a object to the tree by a given key.
Add(
key as Variant,
value as Object)
Parameters
- key
- The key for the object. The data-type for this key must match the selected comparer. If you have a comparer that can compare more than one data-type and evaluate which one is bigger then multiple key types may be used in the same tree.
- value
- The value to add.
Remarks
If the key already exists in the tree then nothing is added. The Exists function can be used to query f a key exists in the tree.
See Also
AVLTree Class