sAMs126

Results 2 comments of sAMs126

javascript 的日期函数 new Date(year, monthIndex [, day [, hours [, minutes [, seconds [, milliseconds]]]]]); 其中 monthIndex 是从零开始计算的,所以 0 代表一月,11 代表十二月份。 >Integer value representing the month, beginning with 0 for...

有一个疑问,是否可以这样理解,除了直接追加数组元素 `tab[i] = newNode(hash, key, value, null);` 这种方式,其他的插入/覆盖方式,都不会对整个数组的长度产生影响,也就**无从谈起数组扩容**? 但是 `treeifyBin(tab, hash);` 方法中的 ```java if (tab == null || (n = tab.length) < MIN_TREEIFY_CAPACITY) resize(); ``` 难道是仅仅只会在整个数组为空,或者长度小于 64 是进行扩容? > Replaces...