跳到主要内容

push

向队列中加入元素,时间复杂度为O(log N)

声明

void push(PriorityQueue self, mixed item)

参数

参数名描述
self
item

返回值

使用方式

返回文档