Results of 21 - 30 of about 248 for Ds (0.009 sec.)
- Associates all key-value pairs of a traversable object or array 5730
- « Ds\Map::put Ds\Map::reduce » PHP Manual Map Associates all key-value pairs of a traversable ob
...
ject or array Ds\Map::putAll (PECL ds >= 1.0.2) Ds\Map::putAll — As ...
pairs of a traversable object or array 説明 public Ds\Map::putAll ( mixed $pairs ): void Associates all ...
type object are supported. If an object implements Ds\Hashable , equality will be determined by the obje ...
s equals function. If an object does not implement Ds\Hashable , objects must be references to the same ...
-
https://man.plustar.jp/php/ds-map.putall.html
- [similar]
- Returns a reversed copy 5730
- « Ds\Map::reverse Ds\Map::skip » PHP Manual Map Returns a reversed copy Ds\Map::reversed (PECL ds
...
s >= 1.0.0) Ds\Map::reversed — Returns a reversed copy 説明 publi ...
c Ds\Map::reversed (): Ds\Map Returns a reversed copy o ...
注意 : The current instance is not affected. 例 例1 Ds\Map::reversed() example <?php $map = new \ Ds \ Ma ...
?> 上の例の出力は、 たとえば以下のようになります。 Ds\Map Object ( [0] => Ds\Pair Object ( [key] => c [v ...
-
https://man.plustar.jp/php/ds-map.reversed.html
- [similar]
- Sorts the map in-place by value 5730
- « Ds\Map::slice Ds\Map::sorted » PHP Manual Map Sorts the map in-place by value Ds\Map::sort (PE
...
CL ds >= 1.0.0) Ds\Map::sort — Sorts the map in-place by ...
value 説明 public Ds\Map::sort ( callable $comparator = ? ): void Sorts ...
ch values as equal. 戻り値 値を返しません。 例 例1 Ds\Map::sort() example <?php $map = new \ Ds \ Map ([ ...
?> 上の例の出力は、 たとえば以下のようになります。 Ds\Map Object ( [0] => Ds\Pair Object ( [key] => c [v ...
-
https://man.plustar.jp/php/ds-map.sort.html
- [similar]
- Returns the result of adding all given associations 5700
- « Ds\Map::map Ds\Map::pairs » PHP Manual Map Returns the result of adding all given associations
...
Ds\Map::merge (PECL ds >= 1.0.0) Ds\Map::merge — Retu ...
esult of adding all given associations 説明 public Ds\Map::merge ( mixed $values ): Ds\Map Returns the r ...
意 : The current instance won't be affected. 例 例1 Ds\Map::merge() example <?php $map = new \ Ds \ Map ( ...
?> 上の例の出力は、 たとえば以下のようになります。 Ds\Map Object ( [0] => Ds\Pair Object ( [key] => a [v ...
-
https://man.plustar.jp/php/ds-map.merge.html
- [similar]
- Creates a new map using a callable to determine which pairs to include 5670
- « Ds\Map::diff Ds\Map::first » PHP Manual Map Creates a new map using a callable to determine wh
...
ich pairs to include Ds\Map::filter (PECL ds >= 1.0.0) Ds\Map::filter — Cr ...
le to determine which pairs to include 説明 public Ds\Map::filter ( callable $callback = ? ): Ds\Map Cre ...
ert to true if a callback was not provided. 例 例1 Ds\Map::filter() example using callback function <?ph ...
p $map = new \ Ds \ Map ([ "a" , "b" , "c" , "d" , "e" ]); var_dump ...
-
https://man.plustar.jp/php/ds-map.filter.html
- [similar]
- The Pair class 5640
- « Ds\Map::xor Ds\Pair::clear » PHP Manual Data Structures The Pair class The Pair class (No vers
...
, might only be in Git) はじめに A pair is used by Ds\Map to pair keys with values. クラス概要 class Ds\ ...
$value = ? ) public clear (): void public copy (): Ds\Pair public isEmpty (): bool public toArray (): ar ...
ray } 目次 Ds\Pair::clear — Removes all values Ds\Pair::__constr ...
uct — Creates a new instance Ds\Pair::copy — Returns a shallow copy of the pair Ds ...
-
https://man.plustar.jp/php/class.ds-pair.html
- [similar]
- Creates a new map using keys that aren't in another map 5640
- « Ds\Map::count Ds\Map::filter » PHP Manual Map Creates a new map using keys that aren't in anot
...
her map Ds\Map::diff (PECL ds >= 1.0.0) Ds\Map::diff — Create ...
using keys that aren't in another map 説明 public Ds\Map::diff ( Ds\Map $map ): Ds\Map Returns the resu ...
en map . See Also » Complement on Wikipedia 例 例1 Ds\Map::diff() example <?php $a = new \ Ds \ Map ([ " ...
a" => 1 , "b" => 2 , "c" => 3 ]); $b = new \ Ds \ Map ([ "b" => 4 , "c" => 5 , "d" => 6 ]); var_du ...
-
https://man.plustar.jp/php/ds-map.diff.html
- [similar]
- Creates a new map by intersecting keys with another map 5640
- « Ds\Map::hasValue Ds\Map::isEmpty » PHP Manual Map Creates a new map by intersecting keys with
...
another map Ds\Map::intersect (PECL ds >= 1.0.0) Ds\Map::intersec ...
by intersecting keys with another map 説明 public Ds\Map::intersect ( Ds\Map $map ): Ds\Map Creates a n ...
ys are also present in the given map . In other words, returns a copy of the current instance with all k ...
map . See Also » Intersection on Wikipedia 例 例1 Ds\Map::intersect() example <?php $a = new \ Ds \ Map ...
-
https://man.plustar.jp/php/ds-map.intersect.html
- [similar]
- Reverses the map in-place 5640
- « Ds\Map::remove Ds\Map::reversed » PHP Manual Map Reverses the map in-place Ds\Map::reverse (PE
...
CL ds >= 1.0.0) Ds\Map::reverse — Reverses the map in-pl ...
ace 説明 public Ds\Map::reverse (): void Reverses the map in-place. パ ...
メータはありません。 戻り値 値を返しません。 例 例1 Ds\Map::reverse() example <?php $map = new \ Ds \ Map ...
?> 上の例の出力は、 たとえば以下のようになります。 Ds\Map Object ( [0] => Ds\Pair Object ( [key] => c [v ...
-
https://man.plustar.jp/php/ds-map.reverse.html
- [similar]
- Creates a new map using keys of either the current instance or of another map, b... 5610
- « Ds\Map::values Pair » PHP Manual Map Creates a new map using keys of either the current instan
...
ce or of another map, but not of both Ds\Map::xor (PECL ds >= 1.0.0) Ds\Map::xor — Creates ...
nce or of another map, but not of both 説明 public Ds\Map::xor ( Ds\Map $map ): Ds\Map Creates a new map ...
ee Also » Symmetric Difference on Wikipedia 例 例1 Ds\Map::xor() example <?php $a = new \ Ds \ Map ([ "a ...
" => 1 , "b" => 2 , "c" => 3 ]); $b = new \ Ds \ Map ([ "b" => 4 , "c" => 5 , "d" => 6 ]); print_ ...
-
https://man.plustar.jp/php/ds-map.xor.html
- [similar]