ArrayList初始大小和扩容方式

ArrayList扩容的方式,1.5倍扩容。 初始大小是10。web int newCapacity = oldCapacity + (oldCapacity >> 1);
相关文章
相关标签/搜索