跳到主要内容

push

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

声明

void push(mixed item)

参数

参数名描述
item要加入队列的元素

返回值

使用方式

返回文档