包含标签:Java 的文章
-
Detailed explanation of the example before Java uses agent to implement the main method
Detailed explanation of the example before Java uses agent to implement the main method Create agent project Premainex…… -
In depth analysis of spring boot starter
Introduction to spring boot The spring framework is very powerful, but even for a very simple project, we have to conf…… -
Usage Summary of foreach collection in mybatis (three kinds)
Foreach is mainly used to build in conditions. It can iterate a set in SQL statements. The attributes of foreach eleme…… -
Detailed explanation of standalone mode deployment configuration of spark
Spark operation mode Spark has many modes, the simplest of which is the single machine local mode and the single machi…… -
Java implementation of string to string array method example
This example describes the method of converting string to string array in Java. Share with you for your reference, as …… -
How to use the Java this keyword
How to use the Java this keyword This keyword in constructor Construction methods are automatically called when a clas…… -
Kotlin basic type auto packing problem solution
Kotlin basic type auto packing problem solution problem When the official kotlin document introduces basic types, it e…… -
Java uses future to get multithreading results in time
The future interface is a part of the Java standard API util. In the concurrent package. The future interface is the i…… -
Detailed explanation of Java set class source code analysis
Like list, set inherits from the collection interface. The commonly used implementation classes are HashSet and TreeSe…… -
Java implementation of web page verification code function
This example shares the implementation code of Java Web page verification code for your reference. The specific conten…… -
Example of using JSP in spring boot practice
The front-end and back-end separation architecture has its advantages, but according to the specific situation, it is …… -
Brief introduction to Java singleton mode
1、 Concept Singleton pattern is a common software design pattern. Its core structure contains only a special class ca…… -
On the wonderful use of future in Java multithreading (with source code)
In Java, future is a future object, which stores the processing results of this thread. It is like a delivery voucher.…… -
Decoration pattern of Java design pattern learning
Decoration mode: dynamically add some additional responsibilities to an object. In terms of adding functions, decorati…… -
Strategy model of Java design pattern learning
Policy mode: policy mode is a method to define a series of algorithms. The work completed by the algorithms is the sam…… -
Read the configuration parameter instance in the XML file
paras. XML file SysParam.@ R_ 502_ 1713 @ file use Reference package required The above example of reading configurati…… -
Code example of Java crawling mailbox from the Internet
Web crawler: in fact, it is a program used to obtain data conforming to specified rules on the Internet. summary Jsup …… -
Several ways to implement action in struts 2
Action is used to process user requests, so it is also called business controller. Each action class is a work unit. T…… -
Quickly understand hibernate configuration files and mapping files
Hibernate is a thorough ORM (object relational mapping) open source framework. Let's take a look at the high-level vie…… -
Preventing unlisted users from operating — a simple implementation based on struts 2 interceptor
Generally, our web applications are allowed to operate only after the user logs in, that is, we do not allow non login…… -
Factory method pattern for Java design pattern learning
Factory method: define an interface for creating objects, and let subclasses decide which class to instantiate. Factor…… -
The Jackson entity turns JSON to null or empty and does not participate in serialization (example explanation)
When using Jackson for serialization, we often encounter that the attribute of an entity object in the background is n…… -
Explain in detail how JSTL in Java Web circulates map data in list
Explain in detail how JSTL in Java Web circulates map data in list The first way: 1: Background code (test) 2: Front p…… -
Java implementation of two-dimensional array to JSON method example
This paper describes the method of converting two-dimensional array to JSON in Java. Share with you for your reference…… -
Java implementation of web page verification code function
This example shares the implementation code of Java Web page verification code for your reference. The specific conten…… -
Futuretask source code analysis (recommended)
Futuretask only implements the runnablefuture interface: @ h_ 404_ 1@ This interface inherits Java Lang. runnable and …… -
Java thread safe counter simple implementation code example
In the past few days, a business code needs a variable to increase from 1 every day. To this end, I simply encapsulate…… -
Influence of synchronized method on non synchronized method
StringBuilder is a thread unsafe class. StringBuffer is thread safe because its methods are synchronized. Today, I wro…… -
Simple definition and usage example of Java two-dimensional array
This article describes the simple definition and use of Java two-dimensional array. Share with you for your reference,…… -
Loading order and execution results of classes in Java
The specific code is as follows: Execution results: Static method of parent class 2 static initialization block subcla…… -
Struts 2 interceptor about solving login problems
The working principle of the interceptor is shown in the figure. Each action request is wrapped in a series of interce…… -
Java programming uses stack to solve the code example of Hanoi Tower problem (non recursive)
[title] The tower of Hanoi is a classic problem. Here is a modification of the rules of the game: now the restrictions……