Navigation: Code Documentation > RSCommon > DataStructures > Classes > TIHeap > Constructors
TIHeap.Create(TICompareFunc) Constructor
Creates and initializes the heap.
The CompareFunc specifies the comparison function for sorting the items in the heap.
Namespace: DataStructures
Delphi
public constructor Create( CompareFunc: TICompareFunc ); overload; virtual;
Parameters
CompareFunc
Type: TICompareFunc
•TIHeap
•DataStructures