While adding elements, the capacity is automatically increased by reallocating the internal array before copying the old elements and adding the new elements.
英
美
- 则通过在复制旧元素和添加新元素之前重新分配内部数组来自动增大容量。