Skip to content

TAVLTree.OnCompare

Compare function used when comparing nodes.

Declaration

Source position: avl_tree.pp line 117

public property OnCompare: TListSortCompare;

Description

OnCompare is the comparing function used when the data of 2 nodes must be compared. By default, the function simply compares the 2 data pointers. A different function can be specified on creation.

See also

Name Description
TAVLTree.Create Create a new instance of TAVLTree.