SHARE
TWEET

Untitled

a guest Jun 16th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * The bin count threshold for using a tree rather than list for a
  3.  * bin.  Bins are converted to trees when adding an element to a
  4.  * bin with at least this many nodes. The value must be greater
  5.  * than 2 and should be at least 8 to mesh with assumptions in
  6.  * tree removal about conversion back to plain bins upon
  7.  * shrinkage.
  8.  */
  9. static final int TREEIFY_THRESHOLD = 8;
  10.  
  11. /**
  12.  * The bin count threshold for untreeifying a (split) bin during a
  13.  * resize operation. Should be less than TREEIFY_THRESHOLD, and at
  14.  * most 6 to mesh with shrinkage detection under removal.
  15.  */
  16. static final int UNTREEIFY_THRESHOLD = 6;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top