Java
-
You must know the type of java reference — a detailed explanation of phantom reference source code
definition Phantom reference is a virtual reference that does not affect the life cycle of an object, nor can it get a…… -
[introduction to Java] day14 a preliminary study on generics in Java
Generics is a very interesting and important concept. This article will briefly introduce the generics feature in Java…… -
Java zero foundation entry series – day3 java basic data type
The first two articles have built the development environment. If you have completed the deployment step by step accor…… -
[introduction to Java] Day2 interface
After talking about abstract classes in the previous article, this article mainly explains what is more abstract than …… -
Details of memory in for and while in Java
Wen / Zhu Jiqian Java program structure has sequence structure, loop structure, branch structure and jump structure, a…… -
[introduction to Java] Day30 detailed explanation of Java container class (XII) detailed explanation of treemap
Today, let's take a look at another general of the map family - treemap. Two generals of the map family have been intr…… -
You must know the type of java reference — detailed explanation of softreference source code
definition Softreference is a soft reference, and its referenced objects will be recycled when memory is insufficient.…… -
[introduction to Java] day23 Java container class (VI) HashMap source code analysis (middle)
In the previous article, the basic contents of HashMap were introduced in detail, and the get and put methods were ana…… -
[introduction to Java] Day12 Java agent – cglib dynamic agent
Today, let's introduce another more powerful agent, cglib dynamic agent. What is cglib dynamic proxy? Let's first revi…… -
How to write a singleton pattern for performance optimization
Singleton model is the most common design pattern in interview. It is an object creation pattern used to generate a sp…… -
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.…… -
[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…… -
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 …… -
[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] 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…… -
[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 …… -
Java zero foundation entry series – day13 inheritance and polymorphism of Java classes
Inheritance is a very important feature of a class. What? You don't even know about inheritance? Are you trying to pis…… -
[introduction to Java] day34 detailed explanation of Java container class (XV) detailed explanation of weakhashmap
The detailed source code series are analyzed based on jdk8 explain At the end of the Java container explanation series…… -
Java collection source code analysis (6): HashMap
summary HashMap is an implementation class based on hash table, which is unsafe for the next thread of map interface. …… -
Deep discussion on Java strong reference, soft reference, weak reference and virtual reference
Deep discussion on strong reference, soft reference, weak reference and virtual reference Reference types are not ofte…… -
[introduction to Java] day21 Java container class (IV) ArrayList source code analysis
Today we will introduce ArrayList, the most commonly used implementation class in the list interface. The source code …… -
Java zero foundation entry series – Day6 Java string
String is our most commonly used type. Each string represented by double quotation marks is a string. A string in Java…… -
Java zero foundation entry series – day14 cloning of Java objects
Today we will introduce a concept, object cloning. This article is difficult. Please be prepared first. If you don't u…… -
[introduction to Java] Day8 Java inner class — anonymous inner class
Today, let's look at another more magical class - anonymous inner class. As its name indicates, this class is anonymou…… -
[introduction to Java] Day7 Java internal classes – local internal classes
Today we introduce the second inner class, the local inner class. What are local inner classes? As the name suggests, …… -
Java zero foundation entry series – Day7 Java input and output
This article mainly introduces the input and output of Java. Of course, this is about the input and output under the c…… -
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…… -
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…… -
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] 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…… -
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…… -
[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……
