Java
-
On the advanced usage of JUnit 4 unit testing
JUnit unit test framework is a necessary test tool for Java program development. Now JUnit 4 is the most commonly used…… -
Use of httpclient in HTTP protocol interface test (detailed explanation)
In the interface test of HTTP protocol, get request and post request are most used. The post request includes form par…… -
Detailed explanation of Shiro session expiration time in spring boot actual combat tutorial
preface As we all know, in spring boot, setting the session expiration time only needs to be in application Add server…… -
java. Lang. void class source code analysis
When viewing the ThreadGroup in the source code, I see a piece of code, which is as follows: This method is used to ch…… -
Java quicksort (instance)
Quick sort ---------------------------------------------------------------------- thought As shown in the figure above…… -
Detailed explanation of Java synchronization function code
summary The lock of the synchronization function is this, and the lock of the static synchronization function is the b…… -
Java map stores the array and takes out the value code
There are four main methods to obtain the value of map. These four methods are divided into two categories. One is to …… -
Analysis of internal storage mode of map in Java
Map, that is, map, also known as key value pair, has a key and a value. For example, in groovy language, def map = ['n…… -
Java uses POI to parse excel and obtain instances of all cell data
1. Import POI related jar packages org. apache. poi jar 2. Code example The above example of Java parsing excel with P…… -
On the difference between static and non static in Java
On the difference between static and non static variables 1. Static modified variables are called class variables, glo…… -
Detailed explanation of the selection of map traversal mode in Java
1. Description For the traversal of map in Java, many articles recommend using entryset, which is much more efficient …… -
Java implementation of guessing numbers games
Java implementation of the number guessing game, randomly given a number, guess the size until it is correct Another m…… -
Java random number production algorithm example
Java provides math The random () function returns a random number of double type, and there is also the random class i…… -
Two methods of generating random string in Java
This example shares the specific code of generating random string in Java for your reference. The specific contents ar…… -
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…… -
Maven configuration in windows and project creation instance in IDE
Maven configuration under Windows 1. Maven download address: http://maven.apache.org/download.cgi , download the versi…… -
Solve the problem that spring MVC multi data source switching does not support transaction control
A project needs to use two databases, Oracle and MYSQL, so refer to various blogs to realize this function. After writ…… -
On Java fork / join parallel framework
Preliminary understanding of fork / join framework Fork / join framework is a parallel task framework added to java7. …… -
Example of inverse matrix algorithm implemented in Java
This paper describes the inverse matrix algorithm implemented in Java. Share with you for your reference, as follows: …… -
DES encryption and decryption tool class instance implemented in Java
This article describes the DES encryption and decryption tool class implemented in Java. Share with you for your refer…… -
Java implementation to construct infinite hierarchical tree menu
Here, let's talk about how the background Java constructs a multi tree, so that the foreground can receive data and re…… -
Detailed explanation of Java data overflow code
Java is a relatively safe language, so how does it handle data overflow? Look at a piece of code, The result of the ru…… -
Comparison of two object attributes based on Java
There are two ways to compare two objects: 1. Case 1: when you just judge whether two objects are equal, you just need…… -
Example of n * n matrix evaluation and inverse matrix algorithm implemented in Java
This paper describes the n * n matrix evaluation and inverse matrix algorithm implemented in Java. Share with you for …… -
Implementation method of spring boot after starting the project
preface We sometimes do other things (such as importing data scripts) after the web project is started. Let's talk abo……
