Java
-
Java swing component file selector Jfilechooser simple usage example
This article describes the simple usage of Java swing component file selector Jfilechooser. Share with you for your re…… -
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…… -
Java exception class and its subclasses (example explanation)
If in C language else... To control exceptions, all exceptions in the Java language can be represented by a class. Dif…… -
23 design patterns (3) Java prototype pattern
23 design patterns Part 3: Java prototype pattern definition: Create a new object instance by copying an existing obje…… -
23 design patterns (6) Java Decorator Pattern
23 design patterns Part 6: Java Decorator Pattern definition: Dynamically extend the function of an object without cha…… -
23 design patterns (5) Java adapter pattern
23 design patterns Part 5: Java adapter pattern definition: Convert the interface of a class into another interface th…… -
On the three states and transformation relationship of Java entity objects
In the latest hibernate document, four states are defined for hibernate objects (originally three states, and basicall…… -
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……