« Ds\Stack::allocate
Ds\Stack::clear »

Ds\Stack::capacity

(PECL ds >= 1.0.0)

Ds\Stack::capacity — Returns the current capacity

説明

public function Ds\Stack::capacity(): int

Returns the current capacity.

パラメータ

この関数にはパラメータはありません。

戻り値

The current capacity.

関連キーワード:
capacity   Stack   current   allocate   clear
関連する関数・ページ:
ds-set.capacity   ds-map.capacity   ds-stack.allocate   class.ds-stack   ds-priorityqueue.capacity   ds-deque.capacity