Artemis.AVLTree: Types Source  

Artemis.AVLTree

A AVL tree implementation for the object type.

Thanks to this tutorial: http://cmcrossroads.com/bradapp/ftp/src/libs/C++/AvlTrees.html.

Types Summary

TAVLTree  

Types

Type TAVLTree
Methods Summary
find Find an object.
insert Insert an object.
isEmpty Check whether the tree is empty.
remove Delete an object.
Method find:Int(value:Object)
ReturnsTrue if object exists in tree - otherwise False.
DescriptionFind an object.
Method insert:Int(value:Object, height_change:Int Var)
DescriptionInsert an object.
Method isEmpty:Int()
DescriptionCheck whether the tree is empty.
Method remove(value:Object)
DescriptionDelete an object.