PriorityQueueHeapItem::__construct

(Available since version 1.0)

PriorityQueueHeapItem::__constructConstructs a new item

Description

public PriorityQueueHeapItem::__construct ( mixed $value , mixed $priority )

This constructs a new item for use in the priority queue oriented heap classes.

Parameters

value

The value of the item.

priority

The priority of the item.

Return Values

No value is returned.

To Top