Navigation: Code Documentation > RSCommon > GLists > Classes > TGPriorityQueue > Methods
TGPriorityQueue.ChangePriority(Integer,Integer) Method
Creates a copy of the node at the specified index with a new priority.
Note
The old node is freed.
Namespace: GLists
Delphi
public function ChangePriority( Index: Integer; NewPriority: Integer ): TSQPriorityNode; overload;
Parameters
Index
Type: Integer
NewPriority
Type: TSQPriorityNode
•TGPriorityQueue
•GLists