Create an instance of the tree with extended compare method.
Source position: avl_tree.pp line 114
public constructor TAVLTree.CreateObjectCompare( |
const OnCompareMethod: TObjectSortCompare |
); |
OnCompareMethod |
|
The value for the OnObjectCompare. |
CreateObjectCompare is an alternative constructor that accepts a TObjectSortCompare compare function instead of a regular TListSortCompare compare function. The compare function can still be set in the TAVLTree.OnObjectCompare property.
|
Compare handler. |