Java
-
An instance of solving a subset of a set in Java
An instance of solving a subset of a set in Java Method 1: we know the n-th power of the number of subsets 2 For examp…… -
Explain the construction method call under Java inheritance in detail
Explain the construction method call under Java inheritance in detail When creating an object of a class in Java, if t…… -
Java design fine-grained implementation code based on concurrent HashMap
Fine grained locks: Several locks in Java: synchronized, reentrantlock and reentrantreadwritelock can basically meet t…… -
Explain mybatis foreach collection example
In the process of SQL development, dynamic construction of in set condition query is a common usage. The foreach funct…… -
Ikanalyzer combines Lucene to realize Chinese word segmentation (example explanation)
1. Basic introduction With the more and more extensive application of word segmentation in the field of information re…… -
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…… -
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 …… -
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…… -
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.…… -
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…… -
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…… -
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…… -
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…… -
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…… -
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…… -
Struts 2 configuration XML action details
When learning struts, we must master the working principle of struts 2. Only when we specify the implementation proces…… -
Java date time and date conversion
Java date, time, and mutual conversion for your reference. The specific contents are as follows The above is the whole…… -
On the process of Java recycling object tags and object secondary Tags
1、 Tags for objects 1. What is a tag? How? The first problem, as we all know, is to mark some dead objects to facilit…… -
Simple understanding of common tool classes in spring
File resource operation Spring defines an org springframework. core. io. Resource interface. Resource interface is def…… -
Four optimization methods of Java virtual machine for internal lock
Since Java 6 / Java 7, the Java virtual machine has optimized the implementation of internal locks. These optimization…… -
On the significance of rewriting toString () method in Java programming
In the previous article, we introduced the code example of Java toString method rewriting. Next, we briefly talk about…… -
Brief analysis on the opening and closing of eclipse debug mode
By default, right-click debug in eclipse. When running to the set breakpoint, it will automatically jump to the debug …… -
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…… -
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 …… -
Decoration pattern of Java design pattern learning
Decoration mode: dynamically add some additional responsibilities to an object. In terms of adding functions, decorati…… -
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 …… -
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…… -
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…… -
Futuretask source code analysis (recommended)
Futuretask only implements the runnablefuture interface: @ h_ 404_ 1@ This interface inherits Java Lang. runnable and …… -
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,…… -
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…… -
Detailed explanation of calendar class usage examples in Java
This article describes the usage of calendar class in Java. Share with you for your reference, as follows: Calendar in……
