包含标签:Java 的文章
-
[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] 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…… -
Java zero foundation entry series – classes and objects in Day11 Java
@H_ 403_ 1 @ today we are going to talk about two very important concepts in Java - classes and objects. What is a cla…… -
[introduction to Java] comparison of day3 abstract classes and interfaces
We've finished talking about abstract classes and interfaces. Now let's make a comparison. In fact, to be honest, ther…… -
[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…… -
[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, …… -
You must know the type of java reference — a detailed explanation of the source code of WeakReference
Define @ h_ 403_ 1 @ WeakReference is a weak reference, which will not affect the collection of objects by the garbage…… -
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…… -
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…… -
[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…… -
[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…… -
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…… -
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] Day9 Java internal class – static internal class
Today, let's talk about the last internal class in Java - static internal class The so-called static inner class is na……