検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 40 for Deque (0.039 sec.)
Returns whether the deque is empty 8237
« Ds\Deque::insert Ds\Deque::join » PHP Manual Deque Returns whether the deque is empty Ds\Deque ... ::isEmpty (PECL ds >= 1.0.0) Ds\Deque::isEmpty — Returns whether the deque is empty 説明 ... public Ds\Deque::isEmpty (): bool Returns whether the deque is emp ... パラメータはありません。 戻り値 Returns true if the deque is empty, false otherwise. 例 例1 Ds\Deque::isEmpt ... y() example <?php $a = new \ Ds \ Deque ([ 1 , 2 , 3 ]); $b = new \ Ds \ Deque (); var_dum ...
https://man.plustar.jp/php/ds-deque.isempty.html - [similar]
Creates a new instance 8159
« Ds\Deque::clear Ds\Deque::contains » PHP Manual Deque Creates a new instance Ds\Deque::__const ... ruct (PECL ds >= 1.0.0) Ds\Deque::__construct — Creates a new instance 説明 public ... Ds\Deque::__construct ( mixed $values = ? ) Creates a new i ... an array to use for the initial values. 例 例1 Ds\Deque::__construct() example <?php $deque = new \ Ds \ D ... eque (); var_dump ( $deque ); $deque = new \ Ds \ Deque ([ 1 , 2 , 3 ]); var_ ...
https://man.plustar.jp/php/ds-deque.construct.html - [similar]
Reduces the deque to a single value using a callback function 8159
« Ds\Deque::push Ds\Deque::remove » PHP Manual Deque Reduces the deque to a single value using a ... callback function Ds\Deque::reduce (PECL ds >= 1.0.0) Ds\Deque::reduce — Redu ... ces the deque to a single value using a callback function 説明 p ... ublic Ds\Deque::reduce ( callable $callback , mixed $initial = ? ... ): mixed Reduces the deque to a single value using a callback function. パラメ ...
https://man.plustar.jp/php/ds-deque.reduce.html - [similar]
Inserts values at a given index 8050
« Ds\Deque::get Ds\Deque::isEmpty » PHP Manual Deque Inserts values at a given index Ds\Deque::i ... nsert (PECL ds >= 1.0.0) Ds\Deque::insert — Inserts values at a given index 説明 pub ... lic Ds\Deque::insert ( int $index , mixed ...$values ): void In ... serts values into the deque at a given index. パラメータ index The index at wh ... angeException if the index is not valid. 例 例1 Ds\Deque::insert() example <?php $deque = new \ Ds \ Deque ...
https://man.plustar.jp/php/ds-deque.insert.html - [similar]
Returns the last value 8050
« Ds\Deque::jsonSerialize Ds\Deque::map » PHP Manual Deque Returns the last value Ds\Deque::last ... (PECL ds >= 1.0.0) Ds\Deque::last — Returns the last value 説明 public Ds\Dequ ... e::last (): mixed Returns the last value in the deque. パラメータ この関数にはパラメータはありません。 戻 ... り値 The last value in the deque. エラー / 例外 UnderflowException if empty. 例 例1 ... Ds\Deque::last() example <?php $deque = new \ Ds \ Deque ([ ...
https://man.plustar.jp/php/ds-deque.last.html - [similar]
Updates all values by applying a callback function to each value 8019
« Ds\Deque::allocate Ds\Deque::capacity » PHP Manual Deque Updates all values by applying a call ... back function to each value Ds\Deque::apply (PECL ds >= 1.0.0) Ds\Deque::apply — Update ... g a callback function to each value 説明 public Ds\Deque::apply ( callable $callback ): void Updates all va ... applying a callback function to each value in the deque. パラメータ callback callback ( mixed $value ): mi ... xed A callable to apply to each value in the deque. The callback should return what the value should ...
https://man.plustar.jp/php/ds-deque.apply.html - [similar]
Joins all values together as a string 8019
« Ds\Deque::isEmpty Ds\Deque::jsonSerialize » PHP Manual Deque Joins all values together as a st ... ring Ds\Deque::join (PECL ds >= 1.0.0) Ds\Deque::join — Joins al ... l values together as a string 説明 public Ds\Deque::join ( string $glue = ? ): string Joins all value ... g to separate each value. 戻り値 All values of the deque joined together as a string. 例 例1 Ds\Deque::join ... () example using a separator string <?php $deque = new \ Ds \ Deque ([ "a" , "b" , "c" , 1 , 2 , 3 ...
https://man.plustar.jp/php/ds-deque.join.html - [similar]
Returns a sorted copy 7972
« Ds\Deque::sort Ds\Deque::sum » PHP Manual Deque Returns a sorted copy Ds\Deque::sorted (PECL d ... s >= 1.0.0) Ds\Deque::sorted — Returns a sorted copy 説明 public Ds\Deq ... ue::sorted ( callable $comparator = ? ): Ds\Deque Returns a sorted copy, using an optional comparato ... lues as equal. 戻り値 Returns a sorted copy of the deque. 例 例1 Ds\Deque::sorted() example <?php $deque = ... new \ Ds \ Deque ([ 4 , 5 , 1 , 3 , 2 ]); print_r ( $deque -> sorte ...
https://man.plustar.jp/php/ds-deque.sorted.html - [similar]
Returns the current capacity 7910
« Ds\Deque::apply Ds\Deque::clear » PHP Manual Deque Returns the current capacity Ds\Deque::capa ... city (PECL ds >= 1.0.0) Ds\Deque::capacity — Returns the current capacity 説明 publ ... ic Ds\Deque::capacity (): int Returns the current capacity. パ ... ありません。 戻り値 The current capacity. 例 例1 Ds\Deque::capacity() example <?php $deque = new \ Ds \ Dequ ... e (); var_dump ( $deque -> capacity ()); $deque -> push (... range ( 1 , 5 ...
https://man.plustar.jp/php/ds-deque.capacity.html - [similar]
Attempts to find a value's index 7863
« Ds\Deque::filter Ds\Deque::first » PHP Manual Deque Attempts to find a value's index Ds\Deque: ... :find (PECL ds >= 1.0.0) Ds\Deque::find — Attempts to find a value's index 説明 publ ... ic Ds\Deque::find ( mixed $value ): mixed Returns the index of ... s will be compared by value and by type. 例 例1 Ds\Deque::find() example <?php $deque = new \ Ds \ Deque ([ ... "a" , 1 , true ]); var_dump ( $deque -> find ( "a" )); // 0 var_dump ( $deque -> find ( ...
https://man.plustar.jp/php/ds-deque.find.html - [similar]
PREV 1 2 3 4 NEXT