包含标签:Java 的文章
-
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…… -
[introduction to Java] day28 detailed explanation of Java container class (x) detailed explanation of LinkedHashMap
Today, let's introduce LinkedHashMap, another hash table in the container class. This is the closing disciple of HashM…… -
[introduction to Java] day31 detailed explanation of Java container class (XIII) detailed explanation of TreeSet
After the introduction of treemap in the previous article, let's take a look at the more water TreeSet. This paper wil…… -
Member variables and local variables of Java variables and their operation mechanism
Java language divides variables into member variables and local variables according to the different positions of vari…… -
[introduction to Java] Day11 Java agent – JDK dynamic agent
Today, let's take a look at another proxy method of Java - JDK dynamic proxy The proxy method we introduced earlier is…… -
Traversal operation of ArrayList and LinkedList
summary A well-known little knowledge of a java program is that ArrayList and LinkedList are best deleted by iterator …… -
One of the java reference types you must know – soft reference
definition Soft reference is a reference created by using softreference. Its strength is weaker than that of strong re…… -
[introduction to Java] Day24 Java container class (VII) HashMap source code analysis (II)
KeySet Let's take a look at the keyset first. The member variable keyset in HashMap saves all key sets. In fact, this …… -
[introduction to Java] day18 Java container class (I) collection interface
Today, let's take a look at a big guy in Java, that is, container. The so-called container is specifically used to hol…… -
[introduction to Java] Day1 abstract class
The basic part has almost been explained. Today we begin to enter the Java improvement part. This part will be much mo…… -
[introduction to Java] day22 Java container class (V) HashMap source code analysis (I)
The first part mainly explains the structure, important parameters and methods in HashMap, as well as the places and a…… -
[introduction to Java] day15 revisiting Java generics — Generic wildcards and upper and lower boundaries
The last article introduced what generics are, why generics should be used and how to use generics. I believe you have…… -
One of the java reference types you must know — weak references
definition Weak reference is a reference created by using WeakReference. Weak reference is also used to describe non e…… -
JDK1. 8 new feature lambda expression simplification. There is an optimization method of for loop in if else
In the daily development process, being able to write the code does not necessarily mean being able to write the code …… -
Java method parameters can only be passed by value!
In common parlance, the transfer of method parameters is divided into two types: value transfer and reference transfer…… -
[difficult Java PROBLEMS] the execution sequence of try catch finally when there is a return
There is such a problem that everyone should be familiar with exception handling, similar to the following code: When …… -
[difficult and miscellaneous problems of Java] use Java core library to realize simple AOP
Spring is a very popular open source framework, and AOP (aspect oriented programming) is one of the most important con…… -
[introduction to Java] Day6 Java inner class – member inner class
What the inner class is, in short, is the class defined inside the class (serious nonsense). A serious inner class loo……