Results of 21 - 30 of about 1614 for Set (0.005 sec.)
- Returns a reversed copy 4324
- « Ds\Set::reverse Ds\Set::slice » PHP Manual Set Returns a reversed copy Ds\Set::reversed (PECL
...
ds >= 1.0.0) Ds\Set::reversed — Returns a reversed copy 説明 public Ds ...
\Set::reversed (): Ds\Set Returns a reversed copy of th ...
e set. パラメータ この関数にはパラメータはありません。 戻 ...
り値 A reversed copy of the set. 注意 : The current instance is not affected. 例 例 ...
-
https://man.plustar.jp/php/ds-set.reversed.html
- [similar]
- Removes all values 4308
- « Ds\Set::capacity Ds\Set::__construct » PHP Manual Set Removes all values Ds\Set::clear (PECL d
...
s >= 1.0.0) Ds\Set::clear — Removes all values 説明 public Ds\Set::cl ...
ear (): void Removes all values from the set. パラメータ この関数にはパラメータはありません。 戻 ...
り値 値を返しません。 例 例1 Ds\Set::clear() example <?php $set = new \ Ds \ Set ([ 1 ...
, 2 , 3 ]); print_r ( $set ); $set -> clear (); print_r ( $set ); ?> 上の例の ...
-
https://man.plustar.jp/php/ds-set.clear.html
- [similar]
- Returns the value at a given index 4308
- « Ds\Set::first Ds\Set::intersect » PHP Manual Set Returns the value at a given index Ds\Set::ge
...
t (PECL ds >= 1.0.0) Ds\Set::get — Returns the value at a given index 説明 pub ...
lic Ds\Set::get ( int $index ): mixed Returns the value at a ...
angeException if the index is not valid. 例 例1 Ds\Set::get() example <?php $set = new \ Ds \ Set ([ "a" ...
, "b" , "c" ]); var_dump ( $set -> get ( 0 )); var_dump ( $set -> get ( 1 )); var_ ...
-
https://man.plustar.jp/php/ds-set.get.html
- [similar]
- Returns a shallow copy of the set 4293
- « Ds\Set::contains Ds\Set::count » PHP Manual Set Returns a shallow copy of the set Ds\Set::copy
...
(PECL ds >= 1.0.0) Ds\Set::copy — Returns a shallow copy of the set 説明 pub ...
lic Ds\Set::copy (): Ds\Set Returns a shallow copy of the set ...
はありません。 戻り値 Returns a shallow copy of the set. 例 例1 Ds\Set::copy() example <?php $a = new \ Ds ...
\ Set ([ 1 , 2 , 3 ]); $b = $a -> copy (); // Updating t ...
-
https://man.plustar.jp/php/ds-set.copy.html
- [similar]
- Converts the set to an array 4293
- « Ds\Set::sum Ds\Set::union » PHP Manual Set Converts the set to an array Ds\Set::toArray (PECL
...
ds >= 1.0.0) Ds\Set::toArray — Converts the set to an array 説明 publi ...
c Ds\Set::toArray (): array Converts the set to an array . ...
containing all the values in the same order as the set. 例 例1 Ds\Set::toArray() example <?php $set = new ...
\ Ds \ Set ([ 1 , 2 , 3 ]); var_dump ( $set -> toArray ()); ? ...
-
https://man.plustar.jp/php/ds-set.toarray.html
- [similar]
- Creates a new instance 4278
- « Ds\Set::clear Ds\Set::contains » PHP Manual Set Creates a new instance Ds\Set::__construct (PE
...
CL ds >= 1.0.0) Ds\Set::__construct — Creates a new instance 説明 public ...
Ds\Set::__construct ( mixed $values = [] ) Creates a new ...
an array to use for the initial values. 例 例1 Ds\Set::__construct() example <?php $set = new \ Ds \ Set ...
(); var_dump ( $set ); $set = new \ Ds \ Set ([ 1 , 2 , 3 ]); var_dump ...
-
https://man.plustar.jp/php/ds-set.construct.html
- [similar]
- Returns whether the set is empty 4262
- « Ds\Set::intersect Ds\Set::join » PHP Manual Set Returns whether the set is empty Ds\Set::isEmp
...
ty (PECL ds >= 1.0.0) Ds\Set::isEmpty — Returns whether the set is empty 説明 p ...
ublic Ds\Set::isEmpty (): bool Returns whether the set is empty ...
パラメータはありません。 戻り値 Returns true if the set is empty, false otherwise. 例 例1 Ds\Set::isEmpty( ...
) example <?php $a = new \ Ds \ Set ([ 1 , 2 , 3 ]); $b = new \ Ds \ Set (); var_dump ...
-
https://man.plustar.jp/php/ds-set.isempty.html
- [similar]
- Reduces the set to a single value using a callback function 4231
- « Ds\Set::merge Ds\Set::remove » PHP Manual Set Reduces the set to a single value using a callba
...
ck function Ds\Set::reduce (PECL ds >= 1.0.0) Ds\Set::reduce — Reduce ...
s the set to a single value using a callback function 説明 p ...
ublic Ds\Set::reduce ( callable $callback , mixed $initial = ? ...
): mixed Reduces the set to a single value using a callback function. パラメ ...
-
https://man.plustar.jp/php/ds-set.reduce.html
- [similar]
- Joins all values together as a string 4216
- « Ds\Set::isEmpty Ds\Set::jsonSerialize » PHP Manual Set Joins all values together as a string D
...
s\Set::join (PECL ds >= 1.0.0) Ds\Set::join — Joins all ...
values together as a string 説明 public Ds\Set::join ( string $glue = ? ): string Joins all value ...
g to separate each value. 戻り値 All values of the set joined together as a string. 例 例1 Ds\Set::join() ...
example using a separator string <?php $set = new \ Ds \ Set ([ "a" , "b" , "c" , 1 , 2 , 3 ]) ...
-
https://man.plustar.jp/php/ds-set.join.html
- [similar]
- Returns a sorted copy 4201
- « Ds\Set::sort Ds\Set::sum » PHP Manual Set Returns a sorted copy Ds\Set::sorted (PECL ds >= 1.0
...
.0) Ds\Set::sorted — Returns a sorted copy 説明 public Ds\Set ...
::sorted ( callable $comparator = ? ): Ds\Set Returns a sorted copy, using an optional comparato ...
lues as equal. 戻り値 Returns a sorted copy of the set. 例 例1 Ds\Set::sorted() example <?php $set = new ...
\ Ds \ Set ([ 4 , 5 , 1 , 3 , 2 ]); print_r ( $set -> sorted ...
-
https://man.plustar.jp/php/ds-set.sorted.html
- [similar]