Java
-
Use of delayqueue in Java
Use of delayqueue in Java brief introduction Today, I'd like to introduce delayqueue to you. Delayqueue is a kind of B…… -
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…… -
New feature of jdk12: teeing collectors
brief introduction Jdk12 is Java util. stream. Collectors added a new teeing method? Seeing that many people translate…… -
Learn about jdk12 13 14 GC tuning script – PDF download
brief introduction Want to know the GC tuning secrets in jdk12, 13 and 14? Want to know what new changes have been mad…… -
Understand the queue family in Java
Introduction to queue family in Java brief introduction Collection collection in Java has three families: list, set an…… -
50000 word long text: Best Practices for stream and lambda expressions – PDF download
1. Introduction to streams Today's stream refers to Java util. Many classes in the stream package. Stream can easily c…… -
Troubleshooting: using control + break to solve thread deadlock
brief introduction If we encounter thread deadlock in the program, how to solve it? This article will start from a pra…… -
-
Junior sister learning java IO: file file system
brief introduction Younger martial sister has encountered another problem. This time, the problem is about file creati…… -
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…… -
Java secure coding guide: mutability variability
brief introduction Mutable (variable) and immutable (immutable) objects are often used in the process of Java programm…… -
Use of Java Concurrent exchange
brief introduction Exchange is a concurrent class introduced by Java 5. As its name implies, exchange is used for exch…… -
This paper solves the little secret of string coding in Java
brief introduction In this article, you will learn about the relationship between Unicode and UTF-8, utf-16 and UTF-32…… -
The essence of ABA problem and its solution
brief introduction The full name of CAS is compare and swap, which is the basis of Java synchronization class, Java ut…… -
Use of executorservice in Java concurrency
Executorservice is an asynchronous execution framework in Java. It is convenient to create a multithreaded execution e…… -
Java security coding guide: dead lock
brief introduction In order to ensure the security of shared data in Java, we introduce the lock mechanism. With a loc…… -
New features of jdk14: jfr, JMC and jfr event flow
New features of JDK 14: jfr, JMC and jfr event flow brief introduction Java flight recorder (jfr) is a diagnostic and …… -
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 …… -
New gitbook export pdf
NPM module of gitbook Markdown PDF using vscode plug-in use Command@R_675_2419 @ GitBook Exporter -
Introduction and use of ThreadPool in Java
Thread pool introduction Executors, executor and executorservice ThreadPoolExecutor ScheduledThreadPoolExecutor ForkJo…… -
Junior sister learning java IO: what about writing files
brief introduction Younger martial sister has put forward a lot of strange requirements for senior brother F, to forma…… -
Implementing if / else logic in Java 8 stream expressions
brief introduction In stream processing, we usually encounter the judgment of if / else. How do we deal with such prob…… -
Java secure coding guide: the use of ThreadPool
Introduction @ h_ 502_ 21 @ in Java, in addition to using a single thread, we also use ThreadPool to build a thread po…… -
The difference between interrupt, interrupted and isinterrupted in Java
In the previous article, we talked about calling interrupt () to stop a thread. This article will explain in detail th…… -
Use of threadlocalrandom in Java
Use of threadlocalrandom in Java In Java, we usually need to use Java util. Random to facilitate the production of ran…… -
Classification and use of functional interfaces in Java
brief introduction Java 8 introduces lambda expression, which actually represents an anonymous function. Before Java 8…… -
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 jmh (Java microbenchmark harness) in Java for performance test
The full name of jmh is java microbenchmark harness, which is a suite used for performance testing in open JDK. The su…… -
Deep understanding of Java generics
brief introduction Generics is a concept introduced by JDK 5. Generics are mainly introduced to ensure the security of…… -
It’s 2020. Don’t you know these five java ide artifacts?
Tiobe's programming language ranking list came out in April. Java still ranks first, and the latest version of Java ha…… -
Maven’s build lifecycle and common plugins
brief introduction Maven and gradle should be the two building tools most used by modern Java programmers. Before they…… -
Java safe coding guide: thread safety rules
brief introduction If we introduce shared variables into multithreading, we need to consider thread safety in multithr……