02 2020 档案

摘要:private final void treeifyBin(Node<K,V>[] tab, int index) { Node<K,V> b; int n, sc; if (tab != null) { if ((n = tab.length) < MIN_TREEIFY_CAPACITY) tr 阅读全文
posted @ 2020-02-11 00:46 孙工的编程生涯 阅读(426) 评论(0) 推荐(0)
摘要:重点看这部分代码 for (int j = 0; j < oldCap; ++j) { Node<K,V> e; if ((e = oldTab[j]) != null) { oldTab[j] = null; if (e.next == null) newTab[e.hash & (newCap 阅读全文
posted @ 2020-02-10 10:15 孙工的编程生涯 阅读(227) 评论(0) 推荐(0)