検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 86 for Queue (0.021 sec.)
The Queue class 9702
« Ds\Stack::toArray Ds\Queue::allocate » PHP Manual Data Structures The Queue class The Queue cl ... mation available, might only be in Git) はじめに A Queue is a “first in, first out” or “FIFO” collection th ... nly allows access to the value at the front of the queue and iterates in that order, destructively. クラス概 ... 要 class Ds\Queue implements Ds\Collection , ArrayAccess { /* Consta ... y (): int public clear (): void public copy (): Ds\Queue public isEmpty (): bool public peek (): mixed publ ...
https://man.plustar.jp/php/class.ds-queue.html - [similar]
Pushes values into the queue 9338
« Ds\Queue::pop Ds\Queue::toArray » PHP Manual Queue Pushes values into the queue Ds\Queue::push ... (PECL ds >= 1.0.0) Ds\Queue::push — Pushes values into the queue 説明 public D ... s\Queue::push ( mixed ...$values ): void Pushes values int ... o the queue. パラメータ values The values to push into the que ... ue. 戻り値 値を返しません。 例 例1 Ds\Queue::push() example <?php $queue = new \ Ds \ Queue () ...
https://man.plustar.jp/php/ds-queue.push.html - [similar]
Removes and returns the value at the front of the queue 9258
« Ds\Queue::peek Ds\Queue::push » PHP Manual Queue Removes and returns the value at the front of ... the queue Ds\Queue::pop (PECL ds >= 1.0.0) Ds\Queue::pop — R ... emoves and returns the value at the front of the queue 説明 public Ds\Queue::pop (): mixed Removes and re ... turns the value at the front of the queue. パラメータ この関数にはパラメータはありません。 戻 ... り値 The removed value which was at the front of the queue. エラー / 例外 UnderflowException if empty. 例 例1 ...
https://man.plustar.jp/php/ds-queue.pop.html - [similar]
Returns the value at the front of the queue 9190
« Ds\Queue::jsonSerialize Ds\Queue::pop » PHP Manual Queue Returns the value at the front of the ... queue Ds\Queue::peek (PECL ds >= 1.0.0) Ds\Queue::peek — ... Returns the value at the front of the queue 説明 public Ds\Queue::peek (): mixed Returns the v ... alue at the front of the queue, but does not remove it. パラメータ この関数にはパ ... はありません。 戻り値 The value at the front of the queue. エラー / 例外 UnderflowException if empty. 例 例1 ...
https://man.plustar.jp/php/ds-queue.peek.html - [similar]
Returns a shallow copy of the queue 8988
« Ds\Queue::__construct Ds\Queue::count » PHP Manual Queue Returns a shallow copy of the queue D ... s\Queue::copy (PECL ds >= 1.0.0) Ds\Queue::copy — Returns ... a shallow copy of the queue 説明 public Ds\Queue::copy (): Ds\Queue Returns a ... shallow copy of the queue. パラメータ この関数にはパラメータはありません。 戻 ... り値 Returns a shallow copy of the queue. 例 例1 Ds\Queue::copy() example <?php $a = new \ ...
https://man.plustar.jp/php/ds-queue.copy.html - [similar]
Removes all values 8907
« Ds\Queue::capacity Ds\Queue::__construct » PHP Manual Queue Removes all values Ds\Queue::clear ... (PECL ds >= 1.0.0) Ds\Queue::clear — Removes all values 説明 public Ds\Queue:: ... clear (): void Removes all values from the queue. パラメータ この関数にはパラメータはありません。 戻 ... り値 値を返しません。 例 例1 Ds\Queue::clear() example <?php $queue = new \ Ds \ Queue ( ... [ 1 , 2 , 3 ]); print_r ( $queue ); $queue -> clear (); print_r ( $queue ); ?> 上の ...
https://man.plustar.jp/php/ds-queue.clear.html - [similar]
Returns whether the queue is empty 8907
« Ds\Queue::count Ds\Queue::jsonSerialize » PHP Manual Queue Returns whether the queue is empty ... Ds\Queue::isEmpty (PECL ds >= 1.0.0) Ds\Queue::isEmpty — Re ... turns whether the queue is empty 説明 public Ds\Queue::isEmpty (): bool Re ... turns whether the queue is empty. パラメータ この関数にはパラメータはありま ... せん。 戻り値 Returns true if the queue is empty, false otherwise. 例 例1 Ds\Queue::isEmpt ...
https://man.plustar.jp/php/ds-queue.isempty.html - [similar]
Creates a new instance 8853
« Ds\Queue::clear Ds\Queue::copy » PHP Manual Queue Creates a new instance Ds\Queue::__construct ... (PECL ds >= 1.0.0) Ds\Queue::__construct — Creates a new instance 説明 public ... Ds\Queue::__construct ( mixed $values = ? ) Creates a new i ... an array to use for the initial values. 例 例1 Ds\Queue::__construct() example <?php $queue = new \ Ds \ Q ... ueue (); var_dump ( $queue ); $queue = new \ Ds \ Queue ([ 1 , 2 , 3 ]); var_ ...
https://man.plustar.jp/php/ds-queue.construct.html - [similar]
Converts the queue to an array 8853
« Ds\Queue::push PriorityQueue » PHP Manual Queue Converts the queue to an array Ds\Queue::toArr ... ay (PECL ds >= 1.0.0) Ds\Queue::toArray — Converts the queue to an array 説明 pub ... lic Ds\Queue::toArray (): array Converts the queue to an array ... containing all the values in the same order as the queue. 例 例1 Ds\Queue::toArray() example <?php $queue = ... new \ Ds \ Queue ([ 1 , 2 , 3 ]); var_dump ( $queue -> toArray ()); ...
https://man.plustar.jp/php/ds-queue.toarray.html - [similar]
Returns the current capacity 8678
« Ds\Queue::allocate Ds\Queue::clear » PHP Manual Queue Returns the current capacity Ds\Queue::c ... apacity (PECL ds >= 1.0.0) Ds\Queue::capacity — Returns the current capacity 説明 publ ... ic Ds\Queue::capacity (): int Returns the current capacity. パ ... ありません。 戻り値 The current capacity. 例 例1 Ds\Queue::capacity() example <?php $queue = new \ Ds \ Queu ... e (); var_dump ( $queue -> capacity ()); $queue -> push (... range ( 1 , 5 ...
https://man.plustar.jp/php/ds-queue.capacity.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 NEXT