Navigation: Code Documentation > RSCommon > DataStructures > Classes > TFloatHeap > Methods
TFloatHeap.IndexOf(Single) 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: Single ): Integer; reintroduce; overload;
Parameters
Priority
Type: Single
Type: Integer
•TFloatHeap
•DataStructures