包含标签: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…… -
Lambda expressions and closures
brief introduction We usually talk about closures, which generally refers to the environment of JavaScript. Closure is…… -
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…… -
[introduction to Java] day16 Java exception handling (Part 1)
Dangdang, Dangdang, ladies and gentlemen, I haven't seen you for a long time. I miss you very much. Today, let's talk …… -
You must know the java reference type — reference source code analysis
definition Reference refers to the reference object itself, and referent refers to the object referenced by reference.…… -
Java zero foundation entry series – the big value in Day9 Java
What is a large value? Think with your toes. Of course, it is a "large" value (233). There are two classes used to rep…… -
[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……