Show/Hide Toolbars

RiverSoftAVG Products Help

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

THeap.PushUp(Integer) Method

Scroll Prev Top Next More

Push the last value up the tree until it is not bigger (according to Order) than any of its parents.

The DataStructures.TCustomHeap.PushUp(Integer) and DataStructures.TCustomHeap.PushDown(Integer) methods maintain the sort order of the heap.

Namespace: DataStructures

Parameters

Index

Type: Integer

Return Value

Type: THeapElement

Overrides

TCustomHeap.PushUp(Integer)
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb