Results of 21 - 30 of about 74 for sequence (0.004 sec.)
- Updates a value at a given index 8457
- « Ds\Sequence::rotate Ds\Sequence::shift » PHP Manual Sequence Updates a value at a given index
...
Ds\Sequence::set (PECL ds >= 1.0.0) Ds\Sequence::set — Updates ...
a value at a given index 説明 abstract public Ds\Sequence::set ( int $index , mixed $value ): void Updates a ...
angeException if the index is not valid. 例 例1 Ds\Sequence::set() example <?php $sequence = new \ Ds \ Vector ...
([ "a" , "b" , "c" ]); $sequence -> set ( 1 , "_" ); print_r ( $sequence ); ?> 上の ...
-
https://man.plustar.jp/php/ds-sequence.set.html
- [similar]
- Inserts values at a given index 8429
- « Ds\Sequence::get Ds\Sequence::join » PHP Manual Sequence Inserts values at a given index Ds\Sequence
...
quence::insert (PECL ds >= 1.0.0) Ds\Sequence::insert — Inserts values at a given index 説明 abs ...
tract public Ds\Sequence::insert ( int $index , mixed ...$values ): void In ...
serts values into the sequence at a given index. パラメータ index The index at wh ...
angeException if the index is not valid. 例 例1 Ds\Sequence::insert() example <?php $sequence = new \ Ds \ Vec ...
-
https://man.plustar.jp/php/ds-sequence.insert.html
- [similar]
- Joins all values together as a string 8401
- « Ds\Sequence::insert Ds\Sequence::last » PHP Manual Sequence Joins all values together as a str
...
ing Ds\Sequence::join (PECL ds >= 1.0.0) Ds\Sequence::join — Joins ...
alues together as a string 説明 abstract public Ds\Sequence::join ( string $glue = ? ): string Joins all value ...
g to separate each value. 戻り値 All values of the sequence joined together as a string. 例 例1 Ds\Sequence::j ...
oin() example using a separator string <?php $sequence = new \ Ds \ Vector ([ "a" , "b" , "c" , 1 , 2 , 3 ...
-
https://man.plustar.jp/php/ds-sequence.join.html
- [similar]
- Attempts to find a value's index 8359
- « Ds\Sequence::filter Ds\Sequence::first » PHP Manual Sequence Attempts to find a value's index
...
Ds\Sequence::find (PECL ds >= 1.0.0) Ds\Sequence::find — Attem ...
ts to find a value's index 説明 abstract public Ds\Sequence::find ( mixed $value ): mixed Returns the index of ...
s will be compared by value and by type. 例 例1 Ds\Sequence::find() example <?php $sequence = new \ Ds \ Vecto ...
r ([ "a" , 1 , true ]); var_dump ( $sequence -> find ( "a" )); // 0 var_dump ( $sequence -> fin ...
-
https://man.plustar.jp/php/ds-sequence.find.html
- [similar]
- Removes and returns the last value 8359
- « Ds\Sequence::merge Ds\Sequence::push » PHP Manual Sequence Removes and returns the last value
...
Ds\Sequence::pop (PECL ds >= 1.0.0) Ds\Sequence::pop — Removes ...
and returns the last value 説明 abstract public Ds\Sequence::pop (): mixed Removes and returns the last value. ...
エラー / 例外 UnderflowException if empty. 例 例1 Ds\Sequence::pop() example <?php $sequence = new \ Ds \ Vector ...
([ 1 , 2 , 3 ]); var_dump ( $sequence -> pop ()); var_dump ( $sequence -> pop ()); var_d ...
-
https://man.plustar.jp/php/ds-sequence.pop.html
- [similar]
- Removes and returns a value by index 8345
- « Ds\Sequence::reduce Ds\Sequence::reverse » PHP Manual Sequence Removes and returns a value by
...
index Ds\Sequence::remove (PECL ds >= 1.0.0) Ds\Sequence::remove — R ...
d returns a value by index 説明 abstract public Ds\Sequence::remove ( int $index ): mixed Removes and returns ...
angeException if the index is not valid. 例 例1 Ds\Sequence::remove() example <?php $sequence = new \ Ds \ Vec ...
tor ([ "a" , "b" , "c" ]); var_dump ( $sequence -> remove ( 1 )); var_dump ( $sequence -> remove ( ...
-
https://man.plustar.jp/php/ds-sequence.remove.html
- [similar]
- Removes and returns the first value 8345
- « Ds\Sequence::set Ds\Sequence::slice » PHP Manual Sequence Removes and returns the first value
...
Ds\Sequence::shift (PECL ds >= 1.0.0) Ds\Sequence::shift — Rem ...
nd returns the first value 説明 abstract public Ds\Sequence::shift (): mixed Removes and returns the first val ...
エラー / 例外 UnderflowException if empty. 例 例1 Ds\Sequence::shift() example <?php $sequence = new \ Ds \ Vect ...
or ([ "a" , "b" , "c" ]); var_dump ( $sequence -> shift ()); var_dump ( $sequence -> shift ()); v ...
-
https://man.plustar.jp/php/ds-sequence.shift.html
- [similar]
- Returns a sorted copy 8290
- « Ds\Sequence::sort Ds\Sequence::sum » PHP Manual Sequence Returns a sorted copy Ds\Sequence::so
...
rted (PECL ds >= 1.0.0) Ds\Sequence::sorted — Returns a sorted copy 説明 abstract publ ...
ic Ds\Sequence::sorted ( callable $comparator = ? ): Ds\Sequence ...
lues as equal. 戻り値 Returns a sorted copy of the sequence. 例 例1 Ds\Sequence::sorted() example <?php $seque ...
\ Ds \ Vector ([ 4 , 5 , 1 , 3 , 2 ]); print_r ( $sequence -> sorted ()); ?> 上の例の出力は、 たとえば以下のよ ...
-
https://man.plustar.jp/php/ds-sequence.sorted.html
- [similar]
- Allocates enough memory for a required capacity 8276
- « Sequence Ds\Sequence::apply » PHP Manual Sequence Allocates enough memory for a required capac
...
ity Ds\Sequence::allocate (PECL ds >= 1.0.0) Ds\Sequence::allocate ...
ry for a required capacity 説明 abstract public Ds\Sequence::allocate ( int $capacity ): void Ensures that eno ...
urrent capacity. 戻り値 値を返しません。 例 例1 Ds\Sequence::allocate() example <?php $sequence = new \ Ds \ V ...
ector (); var_dump ( $sequence -> capacity ()); $vector -> allocate ( 100 ); var_ ...
-
https://man.plustar.jp/php/ds-sequence.allocate.html
- [similar]
- Returns a sequence of the map's values 7342
- « Ds\Map::union Ds\Map::xor » PHP Manual Map Returns a sequence of the map's values Ds\Map::valu
...
es (PECL ds >= 1.0.0) Ds\Map::values — Returns a sequence of the map's values 説明 public Ds\Map::values (): ...
Ds\Sequence Returns a sequence containing all the values of th ...
タ この関数にはパラメータはありません。 戻り値 A Ds\Sequence containing all the values of the map. 例 例1 Ds\Ma ...
> int(3) } 関連キーワード: values , Ds , Returns , sequence , Map , of , the , int , containing , all ...
-
https://man.plustar.jp/php/ds-map.values.html
- [similar]