heap-push* ( value key heap -- entry )
Factor handbook > The language > Collections > Heaps

Prev:heap-push ( value key heap -- )
Next:heap-push-all ( assoc heap -- )


Vocabulary
heaps

Inputs and outputs
valuean object
keya comparable object
heapa heap
entryan entry


Word description
Push a pair onto a heap, and output an entry which may later be passed to heap-delete.

Side effects
Modifies heap

Definition

GENERIC: heap-push* ( value key heap -- entry )


Methods