Skip to content

Files

Latest commit

614e444 · May 1, 2018

History

History
88 lines (61 loc) · 1.48 KB

SharedQueue.ru.md

File metadata and controls

88 lines (61 loc) · 1.48 KB

SharedQueue

  • класс SharedQueue (php\util\SharedQueue) унаследован от SharedCollection
  • пакет std
  • исходники php/util/SharedQueue.php

Описание

Class SharedQueue


Методы


Методы

__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.