java explanation -- some practical methods of string

String is a class provided by the system, represented by string Here are some common methods about String for your reference: 1. Access It can be divided into two types: finding the charat in the string according to the index and finding the index of the character in the string according to the position of the character in the string publi ...

Posted by scorphus on Sat, 30 May 2020 08:39:20 -0700

Configuration file of Spring Boot configuration (configuration file, loading order, configuration principle)

configuration file Spring Boot uses a global configuration file whose name is fixed application.properties application.yml Function of configuration file: modify the default value of Spring Boot auto configuration, that is, modify the value that Spring Boot has configured for us at the bottom YAML(YAML Ain't Markup Language) Markup Language: ...

Posted by ManInBlack on Sat, 30 May 2020 02:51:32 -0700

Data analysis | accurate data management based on smart tags

Source code: GitHub point here || GitEE point here 1, Scenario analysis 1. Scenario case Friends in the Internet industry must have known or heard of the following scenarios: Ali: thousands of thousands of faces, meaning different users use Ali related products feel different, for example, the recommended content of Alipay home page, and other ...

Posted by michaelnorth on Fri, 29 May 2020 19:00:49 -0700

Finally someone has made the java proxy clear, in all words!

What is a proxy The proxy pattern is a common java design pattern. It is characterized by the same interface between the proxy class and the delegate class. The proxy class is mainly responsible for preprocessing messages, filtering messages, forwarding messages to the delegate class, and postprocessing messages for the delegate class.The ...

Posted by coolphpdude on Fri, 29 May 2020 17:23:31 -0700

Java combines query operations with connected databases (20.5.29)

IDEA Connect to MySQL Database Add MySQL database connector to project Using mysql-connector-java-8.0.15.jar as an example, add jar files to your project The JDBC-MySQL connector is now added successfully Create the appropriate connection Connect the corresponding class in the jar file try { ...

Posted by pellky on Fri, 29 May 2020 11:57:32 -0700

The interaction demo between ajax and the background

This demo mainly demonstrates the simple interaction between ajax and tomcat server! Idea: enter the user name in the input box. If the user name is blank, "please enter the user name"; if the user name already exists, the picture of "wrong number" will be displayed; if there is no same user name ...

Posted by jpadie on Fri, 29 May 2020 09:21:31 -0700

Code implementation and interesting application of chained queue of data structure

catalog background Basic concepts node code implementation Chain queue code implementation Application of chain queuecode analysis background Queue: a linear table that restricts deletion only in the header and insertion only at the end of the table; that is, FIFO first in first out: the first element to be inserted comes out first. ...

Posted by FrOzeN on Fri, 29 May 2020 08:48:12 -0700

Code implementation and interesting application of chained queue of data structure

catalog background Basic concepts node code implementation Chain queue code implementation Application of chain queuecode analysis background Queue: a linear table that restricts deletion only in the header and insertion only at the end of the table; that is, FIFO first in first out: the first element to be inserted comes out first. ...

Posted by ctsttom on Fri, 29 May 2020 08:40:25 -0700

Implementation of pull-down menu effect with native js

Recent contact with Magento background management system needs to realize the function of a pull-down menu. The previous projects are all mixed use of js and jquery. They never use pure js to realize the function. They don't know if they don't write. They find their own shortcomings only after they write. If they lose jquery, they will lose th ...

Posted by watts on Fri, 29 May 2020 08:30:53 -0700

Spring boot configures modular Services - one configuration is used everywhere

Configuring the service module is a bit like the configuration center, but the function is not so powerful for the time being. Later, the source address will be updated after improvement. catalog Project function introduction Project core configuration code Environment configuration Hidden configuration of MVC static resources Project f ...

Posted by lmg on Fri, 29 May 2020 07:21:25 -0700