SharedQueue

php\util\SharedQueue

extends: php\util\SharedCollection

Class SharedQueue

Methods


__construct($array)
Параметры:
  • $arrayarray, Traversable - (optional)
isEmpty()
Результат:bool
count()
Результат:int
clear()

Remove all elements.

Результат:void
add($value)
Параметры:
  • $valuemixed
Результат:

bool

peek()
Результат:mixed
poll()

Retrieves and removes the head of this queue.

Результат:mixed