Merge pull request #34 from mythsman/patch-1

Update Java 容器.md
This commit is contained in:
CyC2018 2018-03-10 07:50:47 +08:00 committed by GitHub
commit 3ce69484a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,9 +101,9 @@ java.util.Arrays#asList() 可以把数组类型转换为 List 类型。
源码下载:[OpenJDK 1.7](http://download.java.net/openjdk/jdk7)
## 1. ArraList
## 1. ArrayList
[ArraList.java](https://github.com/CyC2018/JDK-Source-Code/tree/master/src/ArrayList.java)
[ArrayList.java](https://github.com/CyC2018/JDK-Source-Code/tree/master/src/ArrayList.java)
实现了 RandomAccess 接口,因此支持随机访问,这是理所当然的,因为 ArrayList 是基于数组实现的。