Java
-
Java char simple tool class charutil sharing
The first article of the blog, about the simple operation of character char, Char, one of the basic data types of Java…… -
Examples of ANSI, Unicode, BMP, UTF and other coding concepts
1、 Foreword In fact, since I began to write java code, I have encountered numerous problems of garbled code and trans…… -
Java multithreading simulation red envelope grabbing function
Today, a friend asked me an interview question. Five people robbed five red envelopes, which can be robbed repeatedly.…… -
Implementation tutorial of spring boot custom starter
Spring boot uses starter to solve many configuration problems, but how does it solve these problems@ H_ 502_ 1@ Here i…… -
Spring boot admin method for managing monitoring data
The spring boot actuator can monitor all kinds of application information. The only disadvantage is that the returned …… -
Detailed explanation of Java function idioms
In Java programming, some knowledge can not be learned only through language specifications or standard API documents.…… -
Java implementation of batch writing data to MySQL
This article describes the method of batch writing data to MySQL in Java. Share with you for your reference, as follow…… -
Explain in detail how spring boot introduces external jar packages
Due to the requirements of the project, the interface of SMS verification code needs to be changed to Ali greater than…… -
23 design patterns (15) Java Interpreter pattern
23 design patterns Part 14: Java Interpreter pattern Definition: given a language, define a representation of its gram…… -
How to use propertysource annotation in spring boot
preface This article will focus on the use of the @ propertysource annotation in spring and how to load the specified …… -
Java optional class usage sharing
Optional is defined as a container class in Java, more specifically, a container with only one element. container obje…… -
Detailed explanation of session addition, deletion, modification and query operation code in Hibernate
Put the three state transition diagram here to facilitate the function of the analysis method: 1. Save() method of ses…… -
Example analysis of Java recursive algorithm
The basic idea of recursive algorithm design is: For a complex problem, decompose the original problem into several re…… -
Spring boot uses logback, logstash and elk to record log files
Under spring boot, try to log to logstash using log4j, and add log4j in Src / main / resources directory The custom ou…… -
How to dynamically inject bean instances in spring
preface There are many ways to inject instances in spring, but due to the different initialization order, the annotati…… -
Java dateutils tool class for time conversion
This example shares the dateutils tool class of time conversion for your reference. The specific contents are as follo…… -
How to use simpledateformat in Java
The content of this paper is mostly based on official documents and online experience summary, which is sorted and acc…… -
Java date time string and millisecond conversion method
The content of this paper is mostly based on official documents and online experience summary, which is sorted and acc…… -
Talking about Java BitSet usage scenarios and code examples
1、 What is BitSet? Note: the following contents are from JDK API: The BitSet class implements an on-demand bit vector…… -
Four step five minute spring4 rapid integration with swagger
If your company hasn't used swagger and hasn't even heard of swagger, quickly learn my blog. It's five minutes quick a…… -
Detailed JAVA memory leak sample code
When locating JVM performance problems, you may encounter memory leakage leading to JVM OUTOFMEMORY. When using Tomcat…… -
Detailed explanation of Java tool class dateutils instance
This example shares the specific code of Java tool class dateutils for your reference. The specific contents are as fo…… -
JDBC connection MySQL garbled exception handling summary
When learning JDBC some time ago, you should connect to MYSQL to obtain data. According to the teacher's sample data, …… -
Java programming undirected graph structure storage and DFS operation code explanation
Concept of graph The graph is an extension of the tree in the algorithm. The tree is a top-down data structure. All no…… -
Method for converting java time into UNIX time stamp
Java time conversion into UNIX timestamp specific code for your reference, the specific contents are as follows The ab…… -
Complete code example of TCP communication in Java network programming
1、 Overview Socket class is the basic class for Java to perform client TCP operations. This class itself uses code to…… -
Find the farthest leaf node of binary tree (example explanation)
During the interview, I came across a question: how to find the farthest leaf node of a binary tree and the distance f…… -
Java string and date type conversion tool class
The common methods of string to date and date to string are as follows The above is the whole content of this article.…… -
Java implementation code example of K-means clustering algorithm
1. Introduction K-means clustering algorithm randomly selects K objects as the initial clustering center. Then, the di…… -
Java method for obtaining timestamp accurate to seconds
This example shares the specific code of Android Jiugongge picture display for your reference. The specific contents a…… -
Detailed explanation of dateutils time tool class in Java
This example shares the specific code of dateutils time tool class for your reference. The specific contents are as fo…… -
Quickly understand various annotations in spring
Annotations in spring can be roughly divided into two categories: 1) Spring's bean container related annotations, or b……