Java
-
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…… -
Java secure coding guide: input verification
brief introduction In order to ensure the security of Java programs, we believe that any input from external users may…… -
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…… -
Spring Boot 2. X Series tutorial: seven days from scratch to master spring boot – continuous update
brief introduction Since the birth of spring, spring has become the de facto J2EE standard. As a lightweight J2EE appl…… -
Detailed explanation of reactive stream protocol
background Everyone should be familiar with stream. Java8 introduces the concept of stream for all collection classes.…… -
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…… -
How to break the foreach of java8 stream
How to break the foreach of java8 stream brief introduction We usually need to traverse and process the data in Java s…… -
Java secure coding guide: the correct use of lock and synchronization
brief introduction In Java multithreading environment, lock and synchronization are functions that we will use. So wha…… -
Junior sister learning java IO: file and path
brief introduction What is the relationship between file and path? What secrets are hidden in files and paths? Under t…… -
Java secure coding guide: string and coding
brief introduction String is the most commonly used Java type in our daily coding process. Languages in different regi…… -
Abstractqueuedsynchronizer (AQS), the base of synchronization class
Abstractqueuedsynchronizer (AQS), the base of synchronization class We introduced many synchronization classes before,…… -
New feature of JDK 14: switch expression
brief introduction The new feature of switch has a long history. It was introduced as a preview function as early as J…… -
Look at the animation algorithm: sorting – bubble sorting
brief introduction Sorting is probably the most basic and commonly used of all algorithms. Sorting is a very classic p…… -
java. util. Introduction to concurrent
java. util. Concurrent package provides many useful classes to facilitate the development of concurrent programs. This……