Recent Posts
-
Comparison between Java abstract class and interface
Comparison between Java abstract class and interface preface Abstract class and interface are both used by java to des…… -
Analysis of Java method for counting the number of string words
In some projects, it may be necessary to count the words in a string. I wrote a simple demo here, which can be taken b…… -
Play with spring boot MVC application (2)
How to quickly build an MCV program? Refer to the official example of spring: https://spring.io/guides/gs/serving-web-…… -
Instance resolves the Java date format tool class dateutil java
If you don't have much to say, please see the code: DateUtil. java Test use DateUtilTester. java The above is the whol…… -
Detailed explanation of the difference between Java array and ArrayList
The difference between Java array and ArrayList 1) Incisive exposition: You can think of ArrayList as an "array that a…… -
The most complete usage summary of for loop, a new feature of Java
1. Overview of enhancements Enhanced for loop, also known as foreach loop, is used to traverse arrays and containers (…… -
Example of AES secret key generation algorithm implemented in Java
This paper describes the AES secret key generation algorithm implemented in Java. Share with you for your reference, a…… -
How to solve mybatis — Java lang.IllegalArgumentException: Result Maps collection already contains value for X
In the past two days, the project needs to integrate the three frameworks of spring, struts 2 and mybatis, but this er…… -
Java code development specification
I Development tool specification: 1. The development tools shall be uniformly determined after debugging by the projec…… -
Explain in detail how to use redis setnx command to realize distributed lock
Distributed locks can be implemented by using the setnx command of redis. The implementation method is described below…… -
Common code block, construction code block, static code block, differences and code examples in Java
Common code block, construction code block, static code block, differences and code examples in Java //Execution order…… -
Method of mutual conversion between Java object and JSON object
The jar package required in the project is not easy to find on the Internet, so I put it in my network disk and downlo…… -
The example explains in detail the conversion between java image and Base64 string
There's no more nonsense. I'll directly post the conversion code between java image and base84 string. The specific co…… -
Detailed explanation of spring MVC interceptor to realize session control
If you are not logged in, you are not allowed to access the page in the background folder. How do you determine whethe…… -
Method of dynamically adding view in Java
In general, most of us write the layout directly in XML files, but sometimes we need to add the layout dynamically wit…… -
Explain the implementation of Java websocket and spring websocket in detail
Start learning websocket, and prepare to use it to realize a log that outputs log4j in real time on the page and the l…… -
Summarize ten practical but paranoid Java programming techniques
preface When you immerse yourself in coding for a period of time (for example, I have invested nearly 20 years in prog…… -
A case study of using spring AOP to realize read-write separation of MySQL database (with demo)
1、 Foreword The read-write separation strategy of database in distributed environment is a key solution to solve the …… -
Wechat public account development – example of creating custom menu and menu event response
The user-defined menu of wechat development public platform needs to spend money for authentication. If you don't want…… -
Redis of Java (spring data redis integration)
1. Integrate with spring data redis POM used in the project xml: Except for the log part, there is only one spring co…… -
JAVA memory structure and data type
JAVA memory structure Memory is a temporary storage of data. Its storage speed is very fast, but it is temporary stora…… -
Java JDBC connection and use details
Java JDBC connection and use jdbc Import driver //Jar is a packaged set of class files that can be referenced in other…… -
Example of conversion between JSON and objects and collections
Conversion of JSON string and Java Object [JSON lib] During the development process, it is often necessary to exchange…… -
Java determines whether two objects are the same object instance code
Java determines whether two objects are the same object Reference addresses are compared with "= =" and values are com…… -
Java thread explanation and the difference between thread and process
@H_ 419_ 1@java Thread explanation and the difference between thread and process @H_ 419_ 1@1. Process and thread Each…… -
Explain in detail the Chinese garbled code problem of JSON data returned by spring mvc3 and solve it
After checking some information on the Internet, I feel more complicated. Here, I use two very simple methods to solve…… -
Analysis on the method of operating bytecode in Java bytecode framework ASM
We have introduced ASM in detail before. If you need it, you can click here: in depth study of Java bytecode framework…… -
Detailed introduction and simple example of Java base64encoder
Detailed explanation of Java base64encoder Base64 is one of the most common encoding methods for transmitting 8bit byt…… -
Android custom view implementation angle selector
First, let's take a look at the effect of Google photos Achieve the final effect: Realization idea Carefully observe t…… -
Android realizes image zooming and dragging
Today, let's write an ImageView with zoom effect. Many people on the Internet have talked about this. But many people …… -
How to use bundle to transfer objects through intent in Android
In Android development, it is sometimes necessary to transfer objects in applications or between processes. The follow…… -
Android animation switch button animation (attribute animation translation animation) example code
Android animation realizes the switch button animation (translation animation of attribute animation). In the recent p……