1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

The first commit to updating text message

The first commit to updating text message
This commit is contained in:
shahainloong 2020-10-17 17:43:29 +08:00 committed by GitHub
parent f9c3497af5
commit 3c6453bdfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -637,7 +637,7 @@ public class ArrayList<E> extends AbstractList<E>
#### 3.2.3. `ensureExplicitCapacity()` 方法
如果调用 `ensureCapacityInternal()` 方法就一定会进(执行)这个方法,下面我们来研究一下这个方法的源码!
如果调用 `ensureCapacityInternal()` 方法就一定会进(执行)这个方法,下面我们来研究一下这个方法的源码!
```java
//判断是否需要扩容