Java
-
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…… -
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 …… -
Important new features of jdk11
Jdk11 released Oracle no longer provides JRE and server JRE downloads Delete deployment tool JavaFX is no longer inclu…… -
New features of jdk10: VaR and anonymous classes
brief introduction I believe everyone has used anonymous classes. After learning the lambda expression in jdk8, you ca…… -
The use of future in Java
Future is an interface introduced by Java 1.5, which can be easily used to obtain asynchronous results. This article w…… -
Eight pictures to thoroughly understand jdk8 GC tuning script – PDF download
brief introduction There are many JVM parameters. According to my statistics, there are 1853 JVM parameters in jdk8 an…… -
New features of jdk9: String compression and character encoding
brief introduction What is the underlying storage of string? I believe most people will say it's an array. If you ask …… -
Introduction to java tools in jdk14
The story happened In the era of no IDE, experts still program through Notepad. At that time, people who could write p…… -
Java secure coding guide: Method writing guide
brief introduction The logic of a java program consists of methods. In the process of writing methods, we also need to…… -
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…… -
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…… -
How to create a custom collector in Java
How to create a custom collector in Java brief introduction In the previous Java collectors article, we mentioned that…… -
New features and prospects of JDK 15 and Java 15
With the cold winter of 2020 and the rampant COVID-19, JAVA has ushered in the JAVA 14 that has not been long before. …… -
Ten thousand word long article in-depth understanding of collections in Java – PDF download attached
1. Preface Collection is used to store multiple data. In addition to the basic types, collection should be the most co…… -
In depth understanding of loop expansion and coarse locking in compilation optimization
brief introduction When talking about JIT, I mentioned two optimization loop expansion and coarse locking in the compi…… -
Lambda expressions and closures
brief introduction We usually talk about closures, which generally refers to the environment of JavaScript. Closure is…… -
Junior sister learning javaio: file copy and file filter
brief introduction For a Linux command, the younger martial sister insisted on me to teach her how to implement it in …… -
Java secure coding guide: visibility and atomicity
brief introduction There are many variables defined in Java classes, including class variables and instance variables.…… -
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…… -
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 …… -
Junior sister learning javaio: file encoding and character set Unicode
brief introduction On a whim, the younger martial sister used a new skill that she had never used before, but there wa…… -
The use of cyclicbarrier in Java
Cyclicbarrier is a thread safe component introduced in Java 5. It has a barrier concept, which is mainly used to wait …… -
Building an efficient result cache in Java
Caching is a very common component in modern application servers. In addition to third-party caches, we usually need t…… -
Type inference and lambda expressions in Java
brief introduction Java is a strongly typed programming language. Each variable used in Java needs to define its type,…… -
PriorityQueue and priorityblockingqueue
PriorityQueue and priorityblockingqueue brief introduction Generally speaking, queues are FIFO. Of course, we also int…… -
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……