Java
-
Brief introduction to Java automatic disassembly box
In the interview process, when interviewers ask basic questions, they often ask about the disassembly and assembly box…… -
be based on Spring@Autowired Annotation and automatic assembly
1 method of configuration file When we write code for the spring framework. Always follow the rule that all beans inje…… -
Four optimization methods of Java virtual machine for internal lock
Since Java 6 / Java 7, the Java virtual machine has optimized the implementation of internal locks. These optimization…… -
Struts 2 configuration action details
After implementing the action processing class, you can Configure the action in XML to let the struts 2 framework know…… -
On the significance of rewriting toString () method in Java programming
In the previous article, we introduced the code example of Java toString method rewriting. Next, we briefly talk about…… -
Access to domains and static methods based on Java does not have polymorphism (example explanation)
1. Associating a method call with a method body is called 2. Compile time binding (static) determines the type of refe…… -
Brief analysis on the opening and closing of eclipse debug mode
By default, right-click debug in eclipse. When running to the set breakpoint, it will automatically jump to the debug …… -
Introduction to common tool classes under Java language Lang package
No matter where you are developing Java applications, you have to write a lot of tool classes / tool functions. You kn…… -
Java uses future to get multithreading results in time
The future interface is a part of the Java standard API util. In the concurrent package. The future interface is the i…… -
Detailed explanation of Java set class source code analysis
Like list, set inherits from the collection interface. The commonly used implementation classes are HashSet and TreeSe…… -
Java implementation of web page verification code function
This example shares the implementation code of Java Web page verification code for your reference. The specific conten…… -
Example of using JSP in spring boot practice
The front-end and back-end separation architecture has its advantages, but according to the specific situation, it is …… -
Brief introduction to Java singleton mode
1、 Concept Singleton pattern is a common software design pattern. Its core structure contains only a special class ca…… -
On the wonderful use of future in Java multithreading (with source code)
In Java, future is a future object, which stores the processing results of this thread. It is like a delivery voucher.…… -
Decoration pattern of Java design pattern learning
Decoration mode: dynamically add some additional responsibilities to an object. In terms of adding functions, decorati…… -
Strategy model of Java design pattern learning
Policy mode: policy mode is a method to define a series of algorithms. The work completed by the algorithms is the sam…… -
Read the configuration parameter instance in the XML file
paras. XML file SysParam.@ R_ 502_ 1713 @ file use Reference package required The above example of reading configurati…… -
Code example of Java crawling mailbox from the Internet
Web crawler: in fact, it is a program used to obtain data conforming to specified rules on the Internet. summary Jsup …… -
Several ways to implement action in struts 2
Action is used to process user requests, so it is also called business controller. Each action class is a work unit. T…… -
Export excel tool class instance implemented by Java
This paper describes the export excel tool class implemented in Java. Share with you for your reference, as follows: E…… -
Quickly create list and map instances with initial values in Java
Initialize a list and map object and add values as follows: This operation can also be implemented with the following …… -
Detailed explanation of object-oriented programming ideas and object examples in Java language
When beginners learn Java, object-oriented is difficult to understand, so today Xiaobian will put this idea for you to…… -
Java continue break to make a simple chat room program
Java continue break makes a simple chat room program to shield uncivilized language and display the chat time of each …… -
Java implementation of four mixed operation code examples
Using the stack, you can handle the operation priority. Use natural four arithmetic expressions, such as 4 + (3 * (3-1…… -
Java implementation of file encryption and decryption function example
This article describes the encryption and decryption function of Java implementation files for your reference, as foll…… -
Springcloud practical tips: zuul’s path matching
Whether we use the configuration method of traditional routing or service routing, we need to define a matching expres…… -
Fully understand CAS mechanism in Java
preface When I saw the Java lock mechanism, I accidentally saw the word CAS. Then I looked for CAS in Baidu. I read ma…… -
Analysis of common methods of appending content to the end of file in Java
This article describes the common methods of appending content to the end of the file in Java. Share with you for your…… -
Kryo serialization and deserialization usage examples
Kryo is a fast and efficient Java object graphics serialization framework, which is characterized by performance, effi…… -
Kryo framework usage code example
Source of kryo framework has been moved to https://github.com/EsotericSoftware/kryo , enter this page, and then click …… -
Implementation methods of several common comparators in Java
In Java, the sorting of object arrays is often involved, so it involves the comparison between objects. Generally, the…… -
Mybatis L2 cache implementation code
L2 cache needs to be manually configured and enabled, as follows: Set enable L2 cache / mybatis02 / config / mybatis-c……