java implementation of skip table

Preface 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

Using Bootstrap and AngularJS in Spring BootSpring Boot

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

Using Spock test framework in Spring Boot project

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

leetcode189 rotation array

Preface 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. subject One leetcode per day 189. Rotation array ...

Posted on Sun, 27 Oct 2019 06:52:25 -0400 by premcov

UI drawing process -- how to start the APP

The source code is version 28, and the software used is AS. The entry is the ActivityThread.main() method attachApplication 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

Three programming practices of java container class 1. Introduction 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

Creation and traversal of heffman tree (Java)

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

Map interface and three word classes

Map 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

Getting started with Spring Boot (17) -- integration of Spring Boot and Shiro

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 <dependency> ...

Posted on Sun, 27 Oct 2019 03:02:05 -0400 by The-Last-Escape

Learn Spring's annotation and Schema to implement AOP

Summary 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