Results of 1 - 10 of about 40 for deque (0.004 sec.)
- The Deque class 10032
- « Ds\Vector::unshift Ds\Deque::allocate » PHP Manual Data Structures The Deque class The Deque c
...
mation available, might only be in Git) はじめに A Deque (pronounced “deck”) is a sequence of values in a c ...
nsert() and remove() are O(n). クラス概要 class Ds\Deque implements Ds\Sequence , ArrayAccess { /* Constant ...
ains ( mixed ...$values ): bool public copy (): Ds\Deque public filter ( callable $callback = ? ): Ds\Deque ...
st (): mixed public map ( callable $callback ): Ds\Deque public merge ( mixed $values ): Ds\Deque public po ...
-
https://man.plustar.jp/php/class.ds-deque.html
- [similar]
- Returns a sub-deque of a given range 9548
- « Ds\Deque::shift Ds\Deque::sort » PHP Manual Deque Returns a sub-deque of a given range Ds\Deque
...
e::slice (PECL ds >= 1.0.0) Ds\Deque::slice — Returns a sub-deque of a given range 説明 ...
public Ds\Deque::slice ( int $index , int $length = ? ): Ds\Deque ...
Creates a sub-deque of a given range. パラメータ index The index at wh ...
ich the sub-deque starts. If positive, the deque will start at that ...
-
https://man.plustar.jp/php/ds-deque.slice.html
- [similar]
- Rotates the deque by a given number of rotations 9064
- « Ds\Deque::reversed Ds\Deque::set » PHP Manual Deque Rotates the deque by a given number of rot
...
ations Ds\Deque::rotate (PECL ds >= 1.0.0) Ds\Deque::rotate — Rota ...
tes the deque by a given number of rotations 説明 public Ds\Dequ ...
e::rotate ( int $rotations ): void Rotates the deque by a given number of rotations, which is equivalen ...
t to successively calling $deque->push($deque->shift()) if the number of rotations ...
-
https://man.plustar.jp/php/ds-deque.rotate.html
- [similar]
- Removes all values from the deque 8721
- « Ds\Deque::capacity Ds\Deque::__construct » PHP Manual Deque Removes all values from the deque
...
Ds\Deque::clear (PECL ds >= 1.0.0) Ds\Deque::clear — Remove ...
s all values from the deque 説明 public Ds\Deque::clear (): void Removes all v ...
alues from the deque. パラメータ この関数にはパラメータはありません。 戻 ...
り値 値を返しません。 例 例1 Ds\Deque::clear() example <?php $deque = new \ Ds \ Deque ( ...
-
https://man.plustar.jp/php/ds-deque.clear.html
- [similar]
- Adds values to the end of the deque 8721
- « Ds\Deque::pop Ds\Deque::reduce » PHP Manual Deque Adds values to the end of the deque Ds\Deque
...
::push (PECL ds >= 1.0.0) Ds\Deque::push — Adds values to the end of the deque 説明 p ...
ublic Ds\Deque::push ( mixed ...$values ): void Adds values to th ...
e end of the deque. パラメータ values The values to add. 戻り値 値を返 ...
しません。 例 例1 Ds\Deque::push() example <?php $deque = new \ Ds \ Deque () ...
-
https://man.plustar.jp/php/ds-deque.push.html
- [similar]
- Returns the sum of all values in the deque 8721
- « Ds\Deque::sorted Ds\Deque::toArray » PHP Manual Deque Returns the sum of all values in the deque
...
ue Ds\Deque::sum (PECL ds >= 1.0.0) Ds\Deque::sum — Returns th ...
e sum of all values in the deque 説明 public Ds\Deque::sum (): int | float Returns ...
the sum of all values in the deque. 注意 : Arrays and objects are considered equal to ...
ありません。 戻り値 The sum of all the values in the deque as either a float or int depending on the values i ...
-
https://man.plustar.jp/php/ds-deque.sum.html
- [similar]
- Creates a new deque using a callable to determine which values to include 8643
- « Ds\Deque::count Ds\Deque::find » PHP Manual Deque Creates a new deque using a callable to dete
...
rmine which values to include Ds\Deque::filter (PECL ds >= 1.0.0) Ds\Deque::filter — Crea ...
tes a new deque using a callable to determine which values to incl ...
ude 説明 public Ds\Deque::filter ( callable $callback = ? ): Ds\Deque Creat ...
es a new deque using a callable to determine which values to incl ...
-
https://man.plustar.jp/php/ds-deque.filter.html
- [similar]
- Determines if the deque contains given values 8612
- « Ds\Deque::__construct Ds\Deque::copy » PHP Manual Deque Determines if the deque contains given
...
values Ds\Deque::contains (PECL ds >= 1.0.0) Ds\Deque::contains — ...
Determines if the deque contains given values 説明 public Ds\Deque::contai ...
ns ( mixed ...$values ): bool Determines if the deque contains all values. パラメータ values Values to c ...
false if any of the provided values are not in the deque, true otherwise. 例 例1 Ds\Deque::contains() examp ...
-
https://man.plustar.jp/php/ds-deque.contains.html
- [similar]
- Returns the result of adding all given values to the deque 8534
- « Ds\Deque::map Ds\Deque::pop » PHP Manual Deque Returns the result of adding all given values t
...
o the deque Ds\Deque::merge (PECL ds >= 1.0.0) Ds\Deque::merge ...
turns the result of adding all given values to the deque 説明 public Ds\Deque::merge ( mixed $values ): Ds\ ...
turns the result of adding all given values to the deque. パラメータ values A traversable object or an arra ...
戻り値 The result of adding all given values to the deque, effectively the same as adding the values to a co ...
-
https://man.plustar.jp/php/ds-deque.merge.html
- [similar]
- Data Structures 8503
- « untaint はじめに » PHP Manual その他の基本モジュール Data Structures Data Structures はじめに
...
::unshift — Adds values to the front of the vector Deque — The Deque class Ds\Deque::allocate — Allocates e ...
nough memory for a required capacity Ds\Deque::apply — Updates all values by applying a callback ...
function to each value Ds\Deque::capacity — Returns the current capacity Ds\Deque: ...
:clear — Removes all values from the deque Ds\Deque::__construct — Creates a new instance Ds\ ...
-
https://man.plustar.jp/php/book.ds.html
- [similar]