Recent Posts
-
Tree of Java data structures and algorithms (power node Java College)
Why use trees: The tree combines the advantages of the two data structures: one is the ordered array, and the speed of…… -
Linked list of Java data structure (Java Institute of power nodes)
Single linked list: Insertfirst: insert a new link point in the header with a time complexity of O (1) Deletefirst: de…… -
Detailed explanation of Java abstract class definition and method instance
In the object-oriented concept, all objects are described by classes, but conversely, not all classes are used to desc…… -
A simple example of intercepting and dividing string in Java
At present, there are three forms: It can be selected and used according to actual needs Operation results: The above …… -
An example analysis of Chinese regular matching method in Java
This paper describes the method of Java regular matching Chinese. Share with you for your reference, as follows: 1. Ma…… -
Java simulation wechat grab red envelope example code
Java simply simulates the wechat red envelope grabbing function. In this example, 10 people grab a red envelope of 100…… -
Spring + mybatis multi data source configuration implementation example
Recently, mybatis was used to configure multiple data sources. Originally, it was thought that a simple configuration …… -
Comparison and difference between overloading and rewriting in Java
The difference between overloading and rewriting in Java First, let's talk about overloading (1) Method overloading is…… -
10 Java programmers familiar with object-oriented design principles
Object oriented design principle is the core of oops programming, but most Java programmers I have seen are enthusiast…… -
Java implements the JSON back-end to transfer data to the front-end
1 back end two auxiliary classes ConcurrentDateUtil. Java, used to generate the format we need JsonResult. Java, jsonr…… -
Detailed explanation of IP and URL and example code of network programming in java development
Java network programming java. net Class InetAddress this class represents an Internet Protocol (IP) address. An excep…… -
Detailed explanation of lambda expression example, a new feature of Java 8
Detailed explanation of lambda expression example, a new feature of Java 8 Before introducing lambda expressions, let'…… -
A summary of the mistakes that long and integer are easy to make in Java
Today, many high-risk vulnerabilities are found after scanning the project with findbugs. A very common one is to comp…… -
Java to merge cells and export excel examples
introduce POI provides APIs for Java programs to read and write files in Microsoft Office format. The document formats…… -
Java prints out the digits in reverse order according to the number of positive integers
Title: give a positive integer with no more than 5 digits. Requirements: first, find how many digits it is, and second…… -
Java decomposes a positive integer into prime factors
Program analysis: to decompose the prime factor of N, first find a minimum prime number k, and then complete it accord…… -
JDBC detailed explanation of Java transaction management learning
What is a Java transaction The general idea is that transactions are only related to databases. Transactions must comp…… -
Detailed explanation of Hibernate naming strategy
The naming strategy of Hibernate can reduce the maintenance of database identifier naming and further reduce the amoun…… -
On the loss of digital accuracy in Java object to JSON
phenomenon Large numbers in Java, such as 18 / 19 bit integers (long), are converted into JSON. After they are output …… -
Java regular expression determines whether the string contains Chinese examples
preface In daily development and programming, we sometimes get some input information from users. For specific applica…… -
Detailed explanation of split () method example of Java regular expression
This article illustrates the split () method of Java regular expressions. Share with you for your reference, as follow…… -
Summary of network communication (TCP communication, UDP communication, multicast and NiO) of java basic knowledge
Summary of network communication based on Java In this article, we mainly discuss how to use java to realize network c…… -
Java efficiently prints an instance of a two-dimensional array (no recursion, no two for loops)
Print an element, do not let the loop variable i + +, and go out of the thinking formula (execute the loop body once, …… -
Java intercepts string instances between specific two tags
If there is a string: higklmnopq The Java code is as follows: The above example of Java intercepting the str…… -
Java and freemaker keep two decimal places
1、 Java retains 2 decimal places 2、 Freemaker keeps two decimal places Supplement: freemaker keeps decimals Freemake…… -
JSON lib converts a string in JSON format into an instance of a Java object
The date in the JSON format string is in the format of 'yyyy MM DD HH: mm: Ss'. If it is converted into an object acco…… -
Java replace spaces
Please implement a function to replace spaces in a string with "% 20". For example, when the string is we are happy Th…… -
Detailed explanation of the conversion of byte, byte array, int and long in Java
1、 Source code of conversion between byte and int in Java: Test code: 2、 Source code of conversion between byte arra…… -
Socket communication instance code between Python and Java
Socket communication between Python and Java I have done a Java communication tool before, with basic functions such a…… -
Java finds all subsets of a set through bit operation
Java does not have its own method to find all subsets of a set. We can find them through the subset law of the set. Al…… -
Java self addition and self subtraction operation process
No more nonsense. I'll post the code directly to you. The specific code is as follows: output i 2 j 7 k 7 h 3 p1 0 p2 …… -
Differences in Java Tostring(), (string), valueof() method
In the actual development and application of Java projects, the basic function of converting objects into strings is o……