Home > Back-end >  For help! Java1.8 ConcurrentHashMap in the put method used in the tree, and the get method is using
For help! Java1.8 ConcurrentHashMap in the put method used in the tree, and the get method is using

Time:12-10

RT! RT! RT! RT! RT! RT! RT! RT! RT! RT!

CodePudding user response:

The get method, obtains the next directly compare, with the chain table structure:


The put method, the process of turning trees:

CodePudding user response:

Junction post, is I amuse force, the get method in a the find function, TreeNode rewrite this method!!!!!!!!!! Embarrassed!!!!!!!!!!!!!!!!!!!!!!!!!!
  • Related