Navigation: Code Documentation > RSCommon > DataStructures > Classes > TIntHeap > Methods
TIntHeap.IndexOf(Integer) Method
Returns the index of the element in the heap that matches the specified priority. If no element has that priority, the function returns -1.
Namespace: DataStructures
Delphi
public function IndexOf( Priority: Integer ): Integer; reintroduce; overload;
Parameters
Priority
Type: Integer
•TIntHeap
•DataStructures