Sign in Join
FPDoc Onlineexperiment

TAvgLvlTree.CreateObjectCompare constructor

Member of TAvgLvlTreepublicIn unit AvgLvlTree

Declaration

pascal
constructor CreateObjectCompare
 (const OnCompareMethod: TAvgLvlObjectSortCompare)

Description

Not described here; this is what TAVLTree.CreateObjectCompare says of it:

Create an instance of the tree with extended compare method.

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 OnObjectCompare property.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.