Navigation: Code Documentation > RSCommon > DataStructures > Classes > TIHeap > Methods
TIHeap.IndexOf(IInterface) 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( const Item: IInterface ): Integer; overload; virtual;
Parameters
Item
Type: IInterface
Type: Integer
•DataStructures.TIHeap.Item[Integer]
•TIHeap
•DataStructures