Java
-
Java traverses map keys, values, and method examples for obtaining map size
Map reads key value pairs and Java traverses two implementation methods of map The first method is to obtain the set s…… -
Polymorphic explanation and example code of C + + / Java inheritance class
Polymorphic explanation of C + + / Java inheritance classes People who have studied C + + and Java know that both of t…… -
Linux configuration JDK environment variables simple tutorial
preparation in advance Windows installation VMware installation Linux system jdk-8u60-linux-x64.0 tar. GZ (download li…… -
BigDecimal is used for precise operation in Java
First, let's look at the following code example: The operation results are as follows. zero point zero six nine nine n…… -
10 SQL errors easily made by Java programmers
Java programmers need to mix object-oriented thinking and general imperative programming methods when programming. Whe…… -
Java implementation of clockwise output spiral two-dimensional array method example
Recently, I saw an interesting logic algorithm problem, so I started to implement it. The title is to print out n * n …… -
Java JDBC connection database code and steps detailed and example code
Detailed explanation of JDBC connection database code and steps in Java JDBC connection database • create a program to…… -
[Java] BigDecimal implementation code for addition, subtraction, multiplication and division
java. math. BigDecimal There are four ways to make BigDecimal. Let me take a look at two of them first: The first: Big…… -
Inheritance of Java person, student and goodstudent and execution of constructor
There are three classes: person, student and goodstudent. Among them, student inherits person and goodstudent inherits…… -
Spring implements scheduled tasks with squertz
preface Speaking of scheduled tasks, the development partners must be familiar. Some things always need computers to c…… -
Implementation of SQL batch modification method in mybatis
In the project, I met the function that needs batch update. I originally wanted to use circular access to the database…… -
On java object-oriented (Abstract inheritance interface polymorphism)
What is inheritance? When the same attributes and behaviors exist in multiple classes, these contents are extracted in…… -
Summary of knowledge points of HashMap in JDK7
Several important variables in HashMap The default initial capacity must be the nth power of 2 The maximum capacity is…… -
Common exception classes in Java
1. java. lang.nullpointerexception We must often encounter this exception. The explanation of the exception is that "t…… -
Detailed explanation of Java data structure (linear table)
Chain storage and implementation of linear list Another way to realize the linear table is chain storage, that is, tho…… -
Java socket file transfer example code
Recently, I became addicted to learning socket, so I wrote a simple file transfer program. Client design idea: the cli…… -
Analysis of several cases of thread death in Java
The java thread conference ends in the following three ways, and is in a dead state after it ends 1. The execution of …… -
JSON parsing and serialization using Jackson in Java
Common JSON class libraries under Java include gson, JSON lib and Jackson. Jackson is relatively efficient. Jackson is…… -
Java removes simple instances of duplicate objects
Examples are as follows: Solution idea: create a temporary container ArrayList to store non duplicate objects. Input n…… -
JSP, struts, spring and mybatis to realize the modular splitting of front-end page functions
Front end page function modular split When a system has many functions, it is impossible to write the pages of all fun…… -
SSH combined with jQuery to achieve three-level linkage effect
This example shares the specific code of jQuery to realize three-level linkage for your reference. The specific conten…… -
Spring MVC — detailed explanation of data binding and form tags
Data binding and form labels Data binding Data binding is a feature that binds user input to the domain model. In the …… -
Detailed explanation of Java single test void type method
preface When we learn Java, teachers or ordinary books say that there are eight basic types of Java. They are byte, in…… -
Overview and implementation steps of picture verification code
I Picture verification code overview: Many websites have this implementation effect: In order to improve the security …… -
The mybatis interceptor implements paging
Final Dao layer result: The next step is to implement paging step by step. I To create a page object: It can be found …… -
Java regular expression to extract the required characters and put them into the array [ArrayList array de duplication function]
This example describes the implementation of Java regular expression to extract the required characters and put them i…… -
An example of paging using hibernate and struts 2
Thinking of learning a new thing every day, I prepared this hibernate + struts 2 to realize the page paging function. …… -
Using log4j to output logs of different packages to different files
preface With the increasing scale of the project, new modules will be introduced continuously. Different modules will …… -
Detailed explanation and example code of Java timer (timer, TimerTask)
Java timer The two classes used to implement the timer function in Java are timer and TimerTask Timer class is a class…… -
Fast JSON in Java generates and parses JSON data (serializes and deserializes data)
This article explains two points: 1. Fastjson generates and parses JSON data (for example: four common types: JavaBean…… -
Implementation of distributed timed task framework based on Spring + quartz
Problem background Our company is a fast-growing start-up company with 200 people. Its main business is related to tou…… -
Method example of binary processing based on shift operation in Java
This paper describes the method of binary processing based on shift operation in Java. Share with you for your referen……