Navigation: Code Documentation > RSCommon > DataStructures > Classes > THeap > Constructors
THeap.Create(TCompareFunc) Constructor
Creates the heap and uses the CompareFunc function to sort the items in the heap
Namespace: DataStructures
Delphi
public constructor Create( CompareFunc: TCompareFunc ); reintroduce; overload;
Parameters
CompareFunc
Type: TCompareFunc
•DataStructures.TCompareFunc
•DataStructures.THeap.Compare
•THeap
•DataStructures