Skip to content

Latest commit

 

History

History
88 lines (61 loc) · 1.39 KB

SharedQueue.md

File metadata and controls

88 lines (61 loc) · 1.39 KB

SharedQueue

  • class SharedQueue (php\util\SharedQueue) extends SharedCollection
  • package std
  • source php/util/SharedQueue.php

Description

Class SharedQueue


Methods


Methods

__construct()

__construct(array|Traversable $array): void

isEmpty()

isEmpty(): bool

count()

count(): int

clear()

clear(): void

Remove all elements.


add()

add(mixed $value): bool

peek()

peek(): mixed

poll()

poll(): mixed

Retrieves and removes the head of this queue.