|
Ds\Sequence::allocateAllocates enough memory for a required capacity 説明
abstract public void Ds\Sequence::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\Sequence::allocate example
上の例の出力は、 たとえば以下のようになります。 int(10) int(100) |