An explanation of binary tree from Baidu Encyclopedia:
In computer science, a binary tree is a tree structure with at most two subtrees per node. Usually, subtrees are called "left subtree" and "right subtree". Binary trees are often used to implement binary search trees and binary heaps.
A binary tree with a depth of K and ...
Added by legomez2000 on Fri, 17 May 2019 21:10:04 +0300
Today, we will explore the basic principles and source code implementation of HashSet, TreeSet and LinkedHashSet. Since these three set s are based on the three maps in the previous article, we recommend that you take a look at the previous article on map first, and use them together better.
Specific code can be found in my GitHub
Added by Box on Fri, 17 May 2019 14:14:28 +0300
Should develop the demand, need to write a formula editor plug-in, below to tell you about the implementation process. (wiping sweat, forcing calmness, cough, voice opening ~)
There's really only a little bit of it.~
Added by PHPLRNR on Fri, 17 May 2019 09:51:49 +0300
This article will mainly talk about JDK version 1.8 Concurrent HashMap, its internal structure and many hash optimization algorithms are the same as JDK version 1.8 HashMap, so before reading this article, we must first understand HashMap, for reference. HashMap correlation In addition, there are also red and black trees in Concurrent HashMap, ...
Added by smokey20 on Fri, 17 May 2019 04:02:20 +0300
"Demeter's Law": This means that "the less your class knows about other classes, the better";
A software entity should interact with other entities as little as possible. Each software unit has the least knowledge of other units, and is limited to those software units closely related to the uni ...
Added by ifty on Thu, 16 May 2019 13:27:42 +0300
In the process of using React, it is unavoidable to need message transmission (communication) between components. There are several situations of communication between components in general:
Parent components communicate to child components
Subcomponents communicate to parent components
Communication between cross-level components
Added by cocpg on Thu, 16 May 2019 08:26:23 +0300
This article only reads the source code of the interaction between JS and Native. As for how Cordova develops plug-ins and so on, please refer to Cordova's official documentation: https://cordova.apache.org/docs/en/latest/
JS calls Native
index.html call The participants were
Added by PHPSpirit on Thu, 16 May 2019 07:52:04 +0300
Knowledge about multithreaded concurrency and thread security is organized as follows:
How Threads Ensure Security
How to publish objects securely
What are the means of thread security
Explanation of JUC components
How to improve thread scheduling
1. How do threads ensure security?
What is Thread Security
This class is thread safe when mult ...
Added by maya28 on Thu, 16 May 2019 03:18:15 +0300
The ghost trigger is Zhong Ying. JSBox In the case of the app process being killed, the notification can also be fixed in the notification bar, even if the user clicks to clear, it can immediately pop up again, never disappear, unless the user closes the notification authority of App or uninstalls App, it can disappear. This function is ...
Added by tomkleijkers on Thu, 16 May 2019 02:40:21 +0300
Rarely today, campus activity day, school holidays, can do a good job in the near future plans but has no time to do things ~such as blogging [oblique smile]
I'm very busy recently. There are many ddl s. There will be three exams next week, and there will be English pre... next week. But I really want to record my recent learnin ...
Added by twizler on Thu, 16 May 2019 02:04:26 +0300