Skip to content

TAVLTree.Create

Create a new instance of TAVLTree.

Declaration

Source position: avl_tree.pp line 113

public 
constructor Create(const OnCompareMethod: TListSortCompare);

constructor Create;

Description

Create initializes a new instance of TAVLTree. An alternate OnCompare can be provided: the default OnCompare method compares the 2 data pointers of a node.

See also

Name Description
OnCompare Compare function used when comparing nodes.