- class
SharedQueue
(php\util\SharedQueue
) extendsSharedCollection
- package
std
- source
php/util/SharedQueue.php
Description
Class SharedQueue
->
__construct()
->
isEmpty()
->
count()
->
clear()
- Remove all elements.->
add()
->
peek()
->
poll()
- Retrieves and removes the head of this queue.- See also in the parent class SharedCollection
__construct(array|Traversable $array): void
isEmpty(): bool
count(): int
clear(): void
Remove all elements.
add(mixed $value): bool
peek(): mixed
poll(): mixed
Retrieves and removes the head of this queue.