Recently, I saw on the Internet why redis uses a jump table instead of a balance tree. I was curious and took a look.
The concept of jump table is available on the Internet, so I won't go over it here. In general, the implementation of hop table is simpler than that of red black tree, and it s ...
Posted on Sun, 27 Oct 2019 07:36:15 -0400 by jfontein
Pay attention to the public account [program workplace], focus on Spring Boot + microservices, applets, flitter, Android, share regular articles and video tutorials, reply to Java data after paying attention, and get the learning dry goods carefully prepared for you!
Hello everyone, I'm "drea ...
Posted on Sun, 27 Oct 2019 07:06:03 -0400 by latvaustin
This article first appeared on personal website: Using Spock test framework in Spring Boot project
Spock framework is a testing framework based on groovy language. Groovy and Java have good interoperability, so it can be used in Spring Boot project to write elegant, efficient and DSL test cases. Spock works with JUnit framework through @ RunWi ...
Posted on Sun, 27 Oct 2019 07:03:07 -0400 by Neville1985
Clock in on October 27, 2019
Algorithm is the method to solve the problem. The same problem, using different algorithms, although the results are the same, but the time and resources consumed are different. This requires us to learn the algorithm and find out which algorithm is better.
One leetcode per day 189. Rotation array ...
Posted on Sun, 27 Oct 2019 06:52:25 -0400 by premcov
The source code is version 28, and the software used is AS.
The entry is the ActivityThread.main() method
In the main() method, an attach method will be called. In this method, an IActivityMannager will be used to call an attachApplication method. IActivityMannager is actually the age ...
Posted on Sun, 27 Oct 2019 06:50:00 -0400 by yapyapayap
Three programming practices of java container class
2. Topic analysis
3. Code implementation
4. Result screenshot
Container class is both a class and a container for storing classes. As a container, it holds multiple "class objects"; as a class, it can operate on the &qu ...
Posted on Sun, 27 Oct 2019 06:32:41 -0400 by CaseyC1
Basic introduction of Huffman tree:
Given n weights as n leaf nodes, a binary tree is constructed. If the weighted path length (wpl) of the tree reaches the minimum, such a binary tree is called the optimal binary tree, also known as Huffman tree. Other books are translated as Huffman tree. Heffman tr ...
Posted on Sun, 27 Oct 2019 05:18:16 -0400 by cash09
Overview: key mapping to value object, a mapping cannot contain duplicate keys, each key can only map to one value at most
The difference between the Map interface and the Collection interface:
(1) Map is a two column set, and Collection is a single column set.
(2) the key of Map is unique, and ...
Posted on Sun, 27 Oct 2019 05:05:17 -0400 by Distant_storm
This article will not introduce Shiro's principle, but will directly explain how Spring Boot integrates with Shiro. If you don't know Shiro, you can read my previous article: Shiro on the realization of authentication and authorization functions
1 introduce dependency
Posted on Sun, 27 Oct 2019 03:02:05 -0400 by The-Last-Escape
In the previous article, we learned how to implement AOP by implementing the interface and XML configuration. Before implementing AOP by annotation, we first learned about AspectJ. AspectJ is a face-to-face framework. It extends the Java language, defines the AOP syntax, and implements code injection at compile time. Spring implements ...
Posted on Sun, 27 Oct 2019 02:54:31 -0400 by callmubashar