Results of 181 - 190 of about 248 for Ds (0.024 sec.)
- Adds values to the front of the vector 4896
- « Ds\Vector::toArray Deque » PHP Manual Vector Adds values to the front of the vector Ds\Vector:
...
:unshift (PECL ds >= 1.0.0) Ds\Vector::unshift — Adds values to the ...
front of the vector 説明 public Ds\Vector::unshift ( mixed $values = ? ): void Adds v ...
at they are passed. 戻り値 値を返しません。 例 例1 Ds\Vector::unshift() example <?php $vector = new \ Ds ...
?> 上の例の出力は、 たとえば以下のようになります。 Ds\Vector Object ( [0] => b [1] => c [2] => a [3] => ...
-
https://man.plustar.jp/php/ds-vector.unshift.html
- [similar]
- Removes and returns the value at the front of the queue 4866
- « Ds\Queue::peek Ds\Queue::push » PHP Manual Queue Removes and returns the value at the front of
...
the queue Ds\Queue::pop (PECL ds >= 1.0.0) Ds\Queue::pop — Remo ...
ns the value at the front of the queue 説明 public Ds\Queue::pop (): mixed Removes and returns the value ...
エラー / 例外 UnderflowException if empty. 例 例1 Ds\Queue::pop() example <?php $queue = new \ Ds \ Que ...
tring(1) "b" string(1) "c" 関連キーワード: Queue , Ds , front , pop , queue , string , returns , Removes ...
-
https://man.plustar.jp/php/ds-queue.pop.html
- [similar]
- Returns the current capacity 4866
- « Ds\Stack::allocate Ds\Stack::clear » PHP Manual Stack Returns the current capacity Ds\Stack::c
...
apacity (PECL ds >= 1.0.0) Ds\Stack::capacity — Returns the current ...
capacity 説明 public Ds\Stack::capacity (): int Returns the current capaci ...
関連キーワード: capacity , Returns , Stack , the , Ds , パラメータ , allocate , public , int , 関数 ...
-
https://man.plustar.jp/php/ds-stack.capacity.html
- [similar]
- Removes and returns the value at the top of the stack 4866
- « 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 — Remo ...
urns the value at the top of the stack 説明 public Ds\Stack::pop (): mixed Removes and returns the value ...
エラー / 例外 UnderflowException if empty. 例 例1 Ds\Stack::pop() example <?php $stack = new \ Ds \ Sta ...
tring(1) "b" string(1) "a" 関連キーワード: Stack , Ds , top , pop , string , returns , Removes , stack , ...
-
https://man.plustar.jp/php/ds-stack.pop.html
- [similar]
- Reduces the map to a single value using a callback function 4835
- « Ds\Map::putAll Ds\Map::remove » PHP Manual Map Reduces the map to a single value using a callb
...
ack function Ds\Map::reduce (PECL ds >= 1.0.0) Ds\Map::reduce — Re ...
single value using a callback function 説明 public Ds\Map::reduce ( callable $callback , mixed $initial ...
り値 The return value of the final callback. 例 例1 Ds\Map::reduce() with initial value example <?php $ma ...
p = new \ Ds \ Map ([ "a" => 1 , "b" => 2 , "c" => 3 ]); $callb ...
-
https://man.plustar.jp/php/ds-map.reduce.html
- [similar]
- Returns a scalar value to be used as a hash value 4805
- « Ds\Hashable::equals Sequence » PHP Manual Hashable Returns a scalar value to be used as a hash
...
value Ds\Hashable::hash (PECL ds >= 1.0.0) Ds\Hashable::has ...
ue to be used as a hash value 説明 abstract public Ds\Hashable::hash (): mixed Returns a scalar value to ...
equality, all objects that are equal according to Ds\Hashable::equals() must have the same hash value. ...
s objects to be used as keys in structures such as Ds\Map and Ds\Set , or any other lookup structure tha ...
-
https://man.plustar.jp/php/ds-hashable.hash.html
- [similar]
- Converts the map to an array 4805
- « Ds\Map::sum Ds\Map::union » PHP Manual Map Converts the map to an array Ds\Map::toArray (PECL
...
ds >= 1.0.0) Ds\Map::toArray — Converts the map to an array 説明 p ...
ublic Ds\Map::toArray (): array Converts the map to an arra ...
ll the values in the same order as the map. 例 例1 Ds\Map::toArray() example <?php $map = new \ Ds \ Map ...
) } 関連キーワード: array , map , Converts , Map , Ds , the , toArray , int , all , 警告 ...
-
https://man.plustar.jp/php/ds-map.toarray.html
- [similar]
- Inserts values at a given index 4775
- « Ds\Deque::get Ds\Deque::isEmpty » PHP Manual Deque Inserts values at a given index Ds\Deque::i
...
nsert (PECL ds >= 1.0.0) Ds\Deque::insert — Inserts values at a g ...
iven index 説明 public Ds\Deque::insert ( int $index , mixed ...$values ): v ...
OfRangeException if the index is not valid. 例 例1 Ds\Deque::insert() example <?php $deque = new \ Ds \ ...
の例の出力は、 たとえば以下のようになります。 object(Ds\Deque)#1 (7) { [0]=> string(1) "a" [1]=> string(1) ...
-
https://man.plustar.jp/php/ds-deque.insert.html
- [similar]
- Removes and returns the value with the highest priority 4775
- « Ds\PriorityQueue::peek Ds\PriorityQueue::push » PHP Manual PriorityQueue Removes and returns t
...
he value with the highest priority Ds\PriorityQueue::pop (PECL ds >= 1.0.0) Ds\PriorityQ ...
ns the value with the highest priority 説明 public Ds\PriorityQueue::pop (): mixed Removes and returns t ...
エラー / 例外 UnderflowException if empty. 例 例1 Ds\PriorityQueue::pop() example <?php $queue = new \ ...
"b" string(1) "c" 関連キーワード: PriorityQueue , Ds , priority , pop , string , returns , Removes , qu ...
-
https://man.plustar.jp/php/ds-priorityqueue.pop.html
- [similar]
- Inserts values at a given index 4775
- « Ds\Sequence::get Ds\Sequence::join » PHP Manual Sequence Inserts values at a given index Ds\Se
...
quence::insert (PECL ds >= 1.0.0) Ds\Sequence::insert — Inserts values at ...
a given index 説明 abstract public Ds\Sequence::insert ( int $index , mixed ...$values ) ...
OfRangeException if the index is not valid. 例 例1 Ds\Sequence::insert() example <?php $sequence = new \ ...
Ds \ Vector (); $sequence -> insert ( 0 , "e" ); // [ ...
-
https://man.plustar.jp/php/ds-sequence.insert.html
- [similar]