Java
-
Please, stop waiting and notify!
Condition is a thread communication method provided in JDK 1.5 to replace wait and notify. Then someone will ask: why …… -
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 …… -
Java functional programming and lambda expressions
What is functional programming Lambda expression @Functional interface Format of lambda expression Method reference -
Implementation of concurrentskiplistmap in skiplist and Java
Implementation of concurrentskiplistmap in skiplist and Java brief introduction At first I heard that skiplist made me…… -
A little secret about throw exception in Java
A little secret about throw exception in Java brief introduction In the previous article, we mentioned that to handle …… -
Understand all the little secrets of string in one article
brief introduction String is a very common object type in Java. It can be said that string is the most used in Java. S…… -
The essence and difference between IO and NiO in Java
brief introduction Finally, I'm going to write the most exciting parts of Java, IO and NiO. The full name of IO is inp…… -
Junior sister learning java IO: reading files
brief introduction Younger martial sister is a little confused about the reader and stream in Java io. She doesn't kno…… -
Finally, I broke all your imagination of Java objects with JOL
brief introduction The advantage of using object-oriented programming language is that although you don't have a girlf…… -
Junior sister learning javaio: the wonderful use of channel in NiO
brief introduction Younger martial sister, do you remember our initial intention of using IO and NiO? Younger martial …… -
Java has a deep understanding of shallow copy and deep copy
brief introduction Copying objects is a common problem in Java. There are two types in Java, base type and reference t…… -
Junior sister learning java IO: directory or file
brief introduction What is the essence of directory and file? How to manipulate and traverse directories in Java. Seni…… -
Exception handling in Java 8 lambda expressions
Exception handling in Java 8 lambda expressions brief introduction Lambda expressions are introduced into Java 8. Lamb…… -
Java secure coding guide: Basics
brief introduction As a programmer, just writing easy-to-use code is not enough. We also need to consider the security…… -
Deadlock due to improper execution sequence
In order to ensure the safety of threads, we have introduced the locking mechanism, but if we use locking without rest…… -
Unexpectedly, the thread was starved to death!
When building a thread pool, we can build a thread pool for a single thread and a thread pool for multiple threads. So…… -
For everything about completable future, it’s enough to read this article
In the previous article, we explained future. In this article, we will continue to explain the usage of completable fu…… -
Junior sister learning java IO: file system and watchservice
brief introduction Younger martial sister encountered the problem of monitoring file changes this time. Elder martial …… -
New feature of JDK 14: instanceof pattern matching
New feature of JDK 14: instanceof pattern matching Jdk14 was officially released in March 2020. Unfortunately, the for…… -
Aslist and ArrayList have to tell stories
Aslist and ArrayList have to tell stories brief introduction When it comes to collection classes, ArrayList should be …… -
Spring 5. X Series tutorial: meet all your imagination of spring 5 – continuous update
brief introduction What makes the Java world better, programmers more friendly, and the baldness rate less high, so th…… -
Troubleshooting: using jfr to solve memory leakage
brief introduction Although Java has automated GC, there will be memory leaks. Of course, memory leaks in Java are dif…… -
You don’t know the secret of Java object serialization
brief introduction Did you know that serialization can use proxies? Do you know the security of serialization? Every j…… -
Java security coding guide: thread API call rules
Thread is indispensable in the development of multithreading in Java. What rules should we pay attention to when using…… -
Troubleshooting: analyze outofmemoryerror exceptions
brief introduction java. Lang. outofmemoryerror should be a very common error in Java applications. So what is the cau…… -
Java secure coding guide: number operation
brief introduction In Java, there are byte, short, int, long, float, double and char that can be called number. What s…… -
Jdk14 performance management tool: introduction to jstat
brief introduction As a programmer, I often worry about how to locate problems in Java programs or tune JVM performanc…… -
Introduction to splitter in Java 8 stream
Introduction to splitter in Java 8 stream brief introduction Splitter is an interface introduced in Java 8. It is usua……