Java
-
How to use Java API
What is a Java class library When writing programs, there are usually many functions that are general or very basic. T…… -
Insertion sorting of Java data structures
Insert sort is to insert the elements to be sorted into an ordered list. A very vivid example is to grab a poker card …… -
Close the hook through JDK source code analysis
shutdown hook When users close the application, they need to clean up the aftermath, but the problem is that some use…… -
Spring boot email details
The spring framework uses the javamailsender interface to provide a simple abstraction for sending mail, and spring bo…… -
Learn InputStream through JDK source code
survey This article mainly introduces the relevant contents of learning InputStream through JDK source code. JDK provi…… -
23 design patterns (7) Java proxy pattern
23 design patterns Part 7: Java proxy pattern definition: Provide a proxy for other objects to control access to this …… -
Detailed explanation of the implementation principle of Java Concurrent waiting condition
preface The implementation mechanism of exclusive lock and shared lock was introduced earlier. This article continues …… -
Fastjson is responsible for the conversion between JSON format strings, JSON objects and JavaBeans
Fastjason mainly uses the following three classes for parsing JSON format strings: JSON: the parser of fastjson, which…… -
Introduction and download address of common APIs of fastjson (recommended)
Fastjson is a high-performance and fully functional JSON library written in Java language. It improves the performance…… -
23 design patterns (4) Java generator pattern
23 design patterns Part 4: Java generator pattern definition: Separate the construction of a complex object from its r…… -
Quickly understand composite patterns in Java design patterns
Composite pattern is a common design pattern (but I think it is a little complex). It is also called composite pattern…… -
Sample code for Java to implement a simple RPC framework
1、 Introduction to RPC RPC, fully known as remote procedure call, is a computer communication protocol. It allows rem…… -
23 design patterns (2) Java factory pattern
23 design patterns Part 2: Java factory pattern definition: Factory pattern is one of the most commonly used design pa…… -
Function of Java programming interface call and code sharing
Many junior Java programmers are confused about the meaning of the interface. I don't know what the interface does and…… -
Detailed explanation of Java httpurlconnection usage
This example shares the use of Java httpurlconnection for your reference. The specific contents are as follows This in…… -
Java multithreaded interrupt code
1、 There are three main methods to terminate threads in Java: ① The thread exits normally, that is, the execution of …… -
Function description of sending mail using components in spring framework
The spring framework was created due to the complexity of software development. Spring uses basic JavaBeans to do thin…… -
Complete code example of red black tree implemented by Java algorithm
Red black tree definition Red black tree (English: redcblack tree) is a self balancing binary search tree. It is a dat…… -
Spring security developed in Java realizes the authentication function based on mongodb
This paper describes the spring security developed by java to realize the authentication function based on mongodb. Sh…… -
Detailed explanation of spring boot log control
The log processing of spring boot is completely consistent with our usual log processing through logback XML for log m…… -
Basic use of fastjason in Java
Fastjson is a high-performance, fully functional and fully supported Java language http://json.org Standard JSON libra…… -
Detailed explanation of reverse engineering steps based on mybatis
I personally feel that this is the simplest of the detailed steps of generating reverse engineering using mybatis. Alt…… -
23 design patterns (1) Java singleton pattern
23 design patterns Part 4: Java singleton pattern definition: Singleton pattern is a common software design pattern. I…… -
23 design modes (8) Java appearance mode
23 design patterns Part 8: Java appearance pattern definition: Provide a consistent interface for a set of interfaces …… -
Java multithreaded programming example
I Relevant knowledge: Knowledge of Java multithreading programming: (1) Operate on the same quantity (2) Operate o…… -
Detailed explanation of three injection methods of spring bean
There are three ways to configure dependency injection for a bean in the spring container: Field injection is the most…… -
How to use fastjson
Introduction to fastjson Fastjson is a JSON processor written in Java language. 1. Follow http://json.org Standard is …… -
Long class is analyzed from the perspective of JDK source code
survey The main function of Java's long class is to encapsulate the basic type long and provide some methods to deal w…… -
Analysis of Java multithreaded callback method instance
The so-called callback is that the client program C calls a method a in the service program s, and then s calls a meth…… -
Java simple verification code function
This example shares the specific code for making simple verification code in Java for your reference. The specific con…… -
23 design patterns (9) Java bridge mode
introduce Bridge pattern separates the abstract part from the implementation part, so that they can change independent…… -
Service number payment code example of Java wechat payment
Java WeChat paid the service number payment to achieve, the Java WeChat payment SDK and Demo online are basically wate……