處理容量是0, 第一次add的時候擴充到10spa
int newCapacity = oldCapacity + (oldCapacity >> 1); // 擴容50% 變成 1.5倍
第二次擴充到10 + 10 >>2 = 15. code