Java
-
Java improvement class (I) thread explanation
1、 Overview Before learning thread, let's first understand the relationship between threads and processes: From the a…… -
Well, these four methods for querying the maximum value of sliding window are good
This is a relatively basic algorithm problem. The data structure involved is also what we talked about before. I'll bu…… -
Blood spitting finishing: 13 military regulations for redis performance optimization! The most complete in history
In this article, we will use the following methods to improve the running speed of redis: 1. Shorten the storage lengt…… -
Spring boot (VI) integrates mybatis to operate MySQL 8
1、 Introduction 1.1 introduction to mybatis Mybatis is an excellent persistence layer framework, which supports custo…… -
Several ways of redis persistence — in-depth analysis of RDB
1. Several ways of persistence Redis persistence has the following three methods: Because each persistence scheme has …… -
Don’t ask me how many objects are created by the new string! Let me prove it to you!
I think all Java programmers have been troubled by this new string question. This is a high-frequency Java interview q…… -
Spring boot (11) redis integration is installed from docker to distributed session sharing
1、 Introduction Redis is an open-source log type key value database written in ANSI C language, supporting network, m…… -
The official version of redis 6.0 has finally been released! What’s new besides multithreading?
Redis 6.0. 1 was officially released on May 2, 2020. As andrez, the author of redis, said, this is the most "enterpris…… -
Ubuntu 18.04. 1 build Java environment and HelloWorld
1、 Build Java environment System environment 1. Download JDK Official website address: http://www.oracle.com/technetw…… -
Xiaobai learning algorithm: the best time to buy and sell stocks!
Today, the ant group (Alipay) is officially listed. There is no doubt that this initiative has created a large number …… -
Spring boot (I) quick start
1、 About spring boot Before we begin to understand spring boot, we need to understand spring first, because the birth…… -
Rabbitmq series (III) introduction and practice of rabbitmq exchange
Introduction and practice of rabbitmq exchange switch Rabbitmq series Reading guide After we have the basic knowledge …… -
Interview raids | how does redis query a key from massive data? Attached video
1. Review knowledge points The knowledge points investigated in this topic are as follows: 2 solution ideas 3 keys usa…… -
Rabbitmq series (V) deploying rabbitmq clusters using docker
summary This article focuses on the use of docker, how to deploy rabbitmq cluster and the most basic docker installati…… -
Two implementation methods of linked list inversion, the latter beat 100% of users!
Linked list inversion is a very basic but very popular algorithm interview question. It has also appeared in question …… -
Java improvement class (IV) interview Essentials – data sets you don’t know
Introduction: does map not belong to a subset of the Java collection framework? Like a list, a queue belongs to one of…… -
23 pictures! Ten thousand words explain the “linked list”, from Xiaobai to big brother!
Linked list and array are two important and commonly used basic data types in data types. Array is a data structure co…… -
Summary of the most complete implementation methods of delayed tasks in history! Code attached (strongly recommended)
The birth of this article is thanks to a reader who gave this excellent article the opportunity to meet you. The focus…… -
New Java feature: can data types be thrown away?
A long time ago, when writing code, we should carefully consider the data types of variables, such as the following: H…… -
Spring boot (IV) template engine thymeleaf integration
1、 Introduction to thymeleaf Thymeleaf is a Java XML / XHTML / HTML5 template engine that can be used in web and non …… -
Java improvement class (VI) reflection and dynamic proxy (JDK proxy and cglib)
1、 Reflection 1. Get class object 2. Common methods of class // 此段代码为公共代码 interface People { int parentA…… -
General directory of spring boot series
1、 Reasons for the birth of spring boot series At school, I mainly learned Java and Net two languages. At that time, …… -
Spring boot (IX) swagger2 automatically generates interface documents and mock simulation data
1、 Introduction Under the current technology trend of separating the front end from the back end, the front-end engin…… -
Spring boot (VII) mybatis code automatic generation and auxiliary plug-ins
1、 Introduction 1.1 introduction to mybatis generator Mybatis generator is an official product of mybatis. It is used…… -
Spring boot (II) integrating JSP and production environment deployment
1、 Introduction One development scenario that I have to say about Java is web development, which is also one of the m…… -
Java improvement class (V) in-depth understanding of bio, NiO and AIO
Introduction: in this article, you will get: the performance difference between same / asynchronous + blocking / non b…… -
Three simplest implementation methods of timing tasks (super practical)
Scheduled tasks are particularly common in actual development. For example, the e-commerce platform automatically canc…… -
Rabbitmq series (II) deeply understand the working principle and simple use of rabbitmq
Deeply understand the working principle and simple use of rabbitmq Rabbitmq series Introduction to rabbitmq Before int…… -
Why does Ali recommend using longadder instead of volatile?
The above content has two key points: But words have no basis. Even if it is said by the lonely big man, we have to pr…… -
Never initialize an instance with double curly braces, otherwise it will oom!
Embarrassment is everywhere in life. Sometimes you just want to pretend, but some "old comrades" always inadvertently …… -
Spring boot (VIII) mybatis + docker + mongodb 4 x
1、 Introduction to mongodb 1.1 introduction to mongodb Mongodb is a powerful, flexible and easy to expand general-pur…… -
Spring boot (XII) unit test JUnit
1、 Introduction JUnit is an excellent open source Java unit testing framework, and it is also the most popular testin……