Java
-
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…… -
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…… -
Junior sister learning java IO: buffer and buff
brief introduction The younger martial sister goes farther and farther on the road of learning NiO. The only thing tha…… -
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 ……