if (initialCapacity > 0) { // 创建 initialCapacity 长度的数组 this.elementData = new Object[initialCapacity]; } else if (initialCapacity == 0) {