Java
-
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…… -
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…… -
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…… -
Spring integrates TimerTask to realize scheduled task scheduling
I preface Recently, timed tasks have been used in the company's projects. This blog will summarize the timed tasks of …… -
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…… -
After the Java date is installed as an English string, the solution to date cannot be switched back
This is a problem encountered by colleagues. The date in the code is placed on the page in the format of "fri Mar 21 0…… -
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…… -
Java paging tool class and its use (sample sharing)
Pager. java Use pagertester java The above is the whole content of this article. I hope the content of this article ca…… -
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…… -
Rules for Java data types
Rules for data types Select the appropriate data type to store. For example, it is used to store the age. Its value ca…… -
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…… -
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…… -
Quick sorting example of Java sorting algorithm
This paper describes the implementation method of Java quick sorting. Share with you for your reference, as follows: I…… -
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…… -
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…… -
Summary of java file reading methods
This example shares the method of reading files in Java for your reference. The specific contents are as follows 1. Re…… -
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…… -
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…… -
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…… -
Java code development specification
I Development tool specification: 1. The development tools shall be uniformly determined after debugging by the projec…… -
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…… -
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…… -
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…… -
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…… -
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…… -
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 (…… -
Solve the problem of inconsistent cookies before and after Java background login
Recently, the company's security group raised a bug that requires us to log in with inconsistent cookies. This is a wo…… -
JDBC in Java implements the instance code of inserting millions of data into mysql
I want to insert millions of data into a table for testing. The original idea is to write a cycle for 10W times and tr…… -
Java split string explanation and example code
Java split string java. Split() method of lang. string, JDK 1.4 or later public String[] split(String regex,int limit)…… -
Spring4. 0 MVC request JSON datagram 406 error solution
Spring4. 0 MVC request JSON datagram 406 error, how to solve it? Solution 1: 1. Import jackson-core-2.5 1. Jar and jac…… -
Java implements form submission (supports simultaneous uploading of multiple files)
In Android or J2EE, it is necessary to lie on other people's website data. It is very common to simulate form submissi…… -
Java method for deleting an element in an array
Examples are as follows: Operation results: [1,0] Please enter the number of elements to delete: three [1,8] The above……
