默认容量为10,用于在add方法添加第一个元素的时候初始化数组大小
private static final int DEFAULT_CAPACITY = 10;
private static final Object[] EMPTY_ELEMENTDATA = {};
private static final Object[] DEFAULTCAPACITY_EMPTY_ELEMENTDATA = {};
transient Object[] elementData; // non-private to simplify nested class access //实际存放元素的数组
private int size; 包含的元素个数