straw 发表于 2013-8-29 22:45
!研究得这么细,底层都被你给摸透了...
第一印象 发表于 2013-8-29 22:48
呵呵,看了老毕的视频,再结合了李刚老师疯狂java的书籍细读了一下,还是觉得有疑问,所以希望在这里能够 ...
straw 发表于 2013-8-29 23:00
为什么不是12而是13?我想只是当初设计这个集合的人的一句话的问题,他想在12这个位置触发rehashing动作也 ...
sergio 发表于 2013-9-3 00:44
可以看源码中怎么设计的。threshold = (int)Math.min(newCapacity * loadFactor, MAXIMUM_CAPACITY + 1);
...
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |