ArrayList 源码 大小 扩容
摘要:1、ArrayList 非线程安全 Vertor线程安全 2、底层使用的是 Object 数组 3、实现了 RandomAccess 接口,查询是随机访问O(1),插入删除近似O(N) /** * 默认初始容量大小 */ private static final int DEFAULT_CAPACI
阅读全文
posted @ 2019-11-25 22:31
posted @ 2019-11-25 22:31
posted @ 2019-11-05 22:09
posted @ 2019-11-05 21:41
posted @ 2019-11-03 21:00
posted @ 2019-11-03 20:21