134 并发容器类~list set queue
摘要:arraylist: 底层object数组, ensureCapcityInternal 判断是否数组扩容 copyonwritearraylist: copyonwrite机制: 当进行资源写入时,系统生成资源副本进行修改。保证写入原子性。写入加锁 hashset: 底层实现:hashmap K+
阅读全文
posted @ 2020-02-21 19:38
posted @ 2020-02-21 19:38
posted @ 2020-02-20 19:49
posted @ 2020-02-20 17:35
posted @ 2020-02-11 19:48
posted @ 2020-02-11 17:02
posted @ 2020-02-10 19:53