Navigation: Code Documentation > RSCommon > DataStructures > Classes > TCustomHeap > Methods
TCustomHeap.IndexOf(TObject) Method
Finds an item in the heap and returns its index in the heap.
The heap is assumed to be sorted .
Namespace: DataStructures
Delphi
public function IndexOf( Item: TObject ): Integer; overload; virtual; abstract;
Parameters
Item
Type: TObject
Type: Integer
•DataStructures.TCustomHeap.Item[Integer]
•TCustomHeap
•DataStructures