-
-
Save yermilov/63780a37c936fd4d27a7241351ea12b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (binCount >= TREEIFY_THRESHOLD - 1) // TREEIFY_THRESHOLD = 8 | |
treeifyBin(tab, hash); | |
... | |
final void treeifyBin(Node<K,V>[] tab, int hash) { | |
int n, index; Node<K,V> e; | |
if (tab == null || (n = tab.length) < MIN_TREEIFY_CAPACITY) // MIN_TREEIFY_CAPACITY = 64 | |
resize(); | |
else ... // actually treeify |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment