SharedQueue¶
-
php\util\SharedQueue
extends: php\util\SharedCollection
Class SharedQueue
Methods
__construct
($array)¶
Параметры:
- $array –
array
,Traversable
- (optional)
isEmpty
()¶
Результат: bool
count
()¶
Результат: int
clear
()¶Remove all elements.
Результат: void
add
($value)¶
Параметры:
- $value –
mixed
Результат:
bool
peek
()¶
Результат: mixed
poll
()¶Retrieves and removes the head of this queue.
Результат: mixed