Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > DataStructures > Classes > TIntPriorityQueue > Methods

TIntPriorityQueue.Push(TObject,Integer) Method

Scroll Prev Top Next More

Adds an item to the queue with a specified priority. Call Push to add an item to the queue.

To retrieve items added with Push, call DataStructures.TIntPriorityQueue.Pop or DataStructures.TIntPriorityQueue.Peek .
 

Namespace: DataStructures

Parameters

Value

Type: TObject

Priority

Type: Integer

Return Value

Type: THeapElement

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb