Java
-
Java Memory Model (JMM) and happens before
Java Memory Model (JMM) and happens before We know that Java programs run in the JVM, and the JVM is a virtual machine…… -
Skillfully use one line of HashMap code to count the number of words
brief introduction JDK has been updated iteratively, and many familiar classes have quietly added some new method feat…… -
The difference between wait and sleep in Java
In this article, we will discuss the differences between wait () and sleep () methods in Java. And discuss how to use …… -
Classification and use of functional interfaces in Java
brief introduction Java 8 introduces lambda expression, which actually represents an anonymous function. Before Java 8…… -
Use of operation type and peek in Java 8 stream
Use of operation type and peek in Java 8 stream brief introduction As a stream operation, Java 8 stream has two types …… -
Use site Maven plugin to build a public warehouse on GitHub
brief introduction Maven is a building tool we often use in developing Java programs. In the process of team developme…… -
Deeply understand the difference between HashMap and treemap
Deeply understand the difference between HashMap and treemap brief introduction HashMap and treemap are two classes co…… -
Phaser doesn’t understand. What else do you learn about multithreading
In the previous article, we talked about the use of cyclicbarrier and countdownlatch. Here we review that countdownlat…… -
Do you really know Java class name?
In the object-oriented world, class is the foundation of Java. java. Lang. class actually inherits from Java lang.Obje…… -
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 …… -
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…… -
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…… -
Detailed explanation of reactive stream protocol
background Everyone should be familiar with stream. Java8 introduces the concept of stream for all collection classes.…… -
java. util. Introduction to concurrent
java. util. Concurrent package provides many useful classes to facilitate the development of concurrent programs. This…… -
Java secure coding guide: serialization
brief introduction Serialization is a very common and neglected function in Java. We need to serialize objects when th…… -
Jdk15 is really coming. Let’s take a look at its new features
brief introduction The latest version of JDK twice a year, jdk15, was officially released on September 15, 2020. This …… -
New feature of jdk12: teeing collectors
brief introduction Jdk12 is Java util. stream. Collectors added a new teeing method? Seeing that many people translate…… -
Java secure coding guide: mutability variability
brief introduction Mutable (variable) and immutable (immutable) objects are often used in the process of Java programm…… -
New gitbook export pdf
NPM module of gitbook Markdown PDF using vscode plug-in use Command@R_675_2419 @ GitBook Exporter -
Detailed explanation of internal classes and internal interfaces in Java
brief introduction Generally speaking, when we create classes and interfaces, each class is a file, and each interface…… -
Use of ThreadLocal in Java
ThreadLocal is mainly used to store data for the current thread, which can only be accessed by the current thread. Whe…… -
Troubleshoot: using jfr to analyze performance problems
brief introduction The performance analysis of Java program is a very difficult problem. Especially for a very complex…… -
Daemon thread in Java
Daemon thread in Java There are two types of threads in Java, user threads and daemon threads. User threads is a high …… -
What do you know about fail safe and fail fast
What do you know about fail safe and fail fast brief introduction When we use collection classes, we usually need to t…… -
New feature of JDK 14: nullpointerexceptions for easier use
New feature of JDK 14: nullpointerexceptions for easier use The exception that makes 99% of Java programmers headache …… -
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…… -
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…… -
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…… -
Troubleshoot: what exactly is GC tuning
brief introduction We often hear that we even need to do GC tuning ourselves. So what is the purpose of GC tuning? Mak…… -
Synchronousqueue details
Synchronousqueue details brief introduction Synchronous queue is a kind of BlockingQueue, so synchronous queue is thre…… -
On the reactive system
Initial knowledge of responsive system The first time I heard the word reactive was a few years ago. I came across the…… -
Use of completionservice in Java
Use of completionservice in Java In the previous article, we talked about executorservice. Through executorservice, we……
