|
Ds\Deque::allocateAllocates enough memory for a required capacity 説明
public void Ds\Deque::allocate(int
$capacity )Ensures that enough memory is allocated for a required capacity. This removes the need to reallocate the internal as values are added. パラメータ
戻り値値を返しません。 例例1 Ds\Deque::allocate example
上の例の出力は、 たとえば以下のようになります。 int(8) int(128) |