Merge pull request #640 from Silverados/patch-1

Update Java 容器.md
This commit is contained in:
CyC2018 2019-03-26 23:44:06 +08:00 committed by GitHub
commit b9fe8df589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ List list = Arrays.asList(1, 2, 3);
### 1. 概览
实现了 RandomAccess 接口,因此支持随机访问。这是理所当然的,因为 ArrayList 是基于数组实现的
因为 ArrayList 是基于数组实现的所以支持快速随机访问。RandomAccess接口标识着该类支持快速随机访问
```java
public class ArrayList<E> extends AbstractList<E>