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