Results of 1 - 10 of about 64 for stack (0.001 sec.)
- The Stack class 10223
- « Ds\Set::xor Ds\Stack::allocate » PHP Manual Data Structures The Stack class The Stack class (N
... mation available, might only be in Git) はじめに A Stack is a “last in, first out” or “LIFO” collection tha ... . Uses a Ds\Vector internally. クラス概要 class Ds\Stack implements Ds\Collection , ArrayAccess { /* メソッ ... y (): int public clear (): void public copy (): Ds\Stack public isEmpty (): bool public peek (): mixed publ ... 3.0 The class now implements ArrayAccess . 目次 Ds\Stack::allocate — Allocates enough memory for a required ...
-
https://man.plustar.jp/php/class.ds-stack.html
- [similar]
- Pushes values onto the stack 9964
- « Ds\Stack::pop Ds\Stack::toArray » PHP Manual Stack Pushes values onto the stack Ds\Stack::push
... (PECL ds >= 1.0.0) Ds\Stack::push — Pushes values onto the stack 説明 public D ... s\Stack::push ( mixed ...$values ): void Pushes values ont ... o the stack. パラメータ values The values to push onto the sta ... ck. 戻り値 値を返しません。 例 例1 Ds\Stack::push() example <?php $stack = new \ Ds \ Stack () ...
-
https://man.plustar.jp/php/ds-stack.push.html
- [similar]
- Removes and returns the value at the top of the stack 9893
- « Ds\Stack::peek Ds\Stack::push » PHP Manual Stack Removes and returns the value at the top of t
... he stack Ds\Stack::pop (PECL ds >= 1.0.0) Ds\Stack::pop — R ... emoves and returns the value at the top of the stack 説明 public Ds\Stack::pop (): mixed Removes and re ... turns the value at the top of the stack. パラメータ この関数にはパラメータはありません。 戻 ... り値 The removed value which was at the top of the stack. エラー / 例外 UnderflowException if empty. 例 例1 ...
-
https://man.plustar.jp/php/ds-stack.pop.html
- [similar]
- Returns the value at the top of the stack 9821
- « Ds\Stack::jsonSerialize Ds\Stack::pop » PHP Manual Stack Returns the value at the top of the stack
... tack Ds\Stack::peek (PECL ds >= 1.0.0) Ds\Stack::peek — Returns ... the value at the top of the stack 説明 public Ds\Stack::peek (): mixed Returns the v ... alue at the top of the stack, but does not remove it. パラメータ この関数にはパ ... タはありません。 戻り値 The value at the top of the stack. エラー / 例外 UnderflowException if empty. 例 例1 ...
-
https://man.plustar.jp/php/ds-stack.peek.html
- [similar]
- Returns a shallow copy of the stack 9620
- « Ds\Stack::__construct Ds\Stack::count » PHP Manual Stack Returns a shallow copy of the stack D
... s\Stack::copy (PECL ds >= 1.0.0) Ds\Stack::copy — Returns ... a shallow copy of the stack 説明 public Ds\Stack::copy (): Ds\Stack Returns a ... shallow copy of the stack. パラメータ この関数にはパラメータはありません。 戻 ... り値 Returns a shallow copy of the stack. 例 例1 Ds\Stack::copy() example <?php $a = new \ ...
-
https://man.plustar.jp/php/ds-stack.copy.html
- [similar]
- The Parle\Stack class 9591
- « Parle\RParser::validate Parle\Stack::pop » PHP Manual Parle The Parle\Stack class The Parle\Stack
... ack class (PECL parle >= 0.7.0) はじめに Parle\Stack is a LIFO stack. The elements are inserted and rem ... oved only from one end. クラス概要 class Parle\Stack { /* プロパティ */ public bool $ empty = true ; pu ... mixed $item ): void } プロパティ empty Whether the stack is empty, readonly. size Stack size, readonly. top ... Element on the top of the stack. 目次 Parle\Stack::pop — Pop an item from the stac ...
-
https://man.plustar.jp/php/class.parle-stack.html
- [similar]
- Removes all values 9534
- « Ds\Stack::capacity Ds\Stack::__construct » PHP Manual Stack Removes all values Ds\Stack::clear
... (PECL ds >= 1.0.0) Ds\Stack::clear — Removes all values 説明 public Ds\Stack:: ... clear (): void Removes all values from the stack. パラメータ この関数にはパラメータはありません。 戻 ... り値 値を返しません。 例 例1 Ds\Stack::clear() example <?php $stack = new \ Ds \ Stack ( ... [ 1 , 2 , 3 ]); print_r ( $stack ); $stack -> clear (); print_r ( $stack ); ?> 上の ...
-
https://man.plustar.jp/php/ds-stack.clear.html
- [similar]
- Creates a new instance 9534
- « Ds\Stack::clear Ds\Stack::copy » PHP Manual Stack Creates a new instance Ds\Stack::__construct
... (PECL ds >= 1.0.0) Ds\Stack::__construct — Creates a new instance 説明 public ... Ds\Stack::__construct ( mixed $values = ? ) Creates a new i ... an array to use for the initial values. 例 例1 Ds\Stack::__construct() example <?php $stack = new \ Ds \ S ... tack (); print_r ( $stack ); $stack = new \ Ds \ Stack ([ 1 , 2 , 3 ]); prin ...
-
https://man.plustar.jp/php/ds-stack.construct.html
- [similar]
- Returns whether the stack is empty 9534
- « Ds\Stack::count Ds\Stack::jsonSerialize » PHP Manual Stack Returns whether the stack is empty
... Ds\Stack::isEmpty (PECL ds >= 1.0.0) Ds\Stack::isEmpty — Re ... turns whether the stack is empty 説明 public Ds\Stack::isEmpty (): bool Re ... turns whether the stack is empty. パラメータ この関数にはパラメータはありま ... せん。 戻り値 Returns true if the stack is empty, false otherwise. 例 例1 Ds\Stack::isEmpt ...
-
https://man.plustar.jp/php/ds-stack.isempty.html
- [similar]
- Converts the stack to an array 9519
- « Ds\Stack::push Queue » PHP Manual Stack Converts the stack to an array Ds\Stack::toArray (PECL
... ds >= 1.0.0) Ds\Stack::toArray — Converts the stack to an array 説明 pub ... lic Ds\Stack::toArray (): array Converts the stack to an array ... containing all the values in the same order as the stack. 例 例1 Ds\Stack::toArray() example <?php $stack = ... new \ Ds \ Stack ([ 1 , 2 , 3 ]); var_dump ( $stack -> toArray ()); ...
-
https://man.plustar.jp/php/ds-stack.toarray.html
- [similar]