13 ThreadState, yield, join, getState, priority, daemon, interrupt, synchronized, thread communication

4.13 ThreadState, yield, join, getState, priority, daemon, interrupt, synchronized, thread communication ThreadState Thread status: Newborn status: new Thread() Ready status: the start() thread will enter the ready queue and wait for the cpu to schedule Running state: when the thread in the ready queue is scheduled by the cpu, it enters the e ...

Posted by mark_john on Mon, 07 Mar 2022 22:55:53 +0100

java data structure Chapter 9 - hash table

9.1 hash table (hash) - Google questions Let's take a look at the actual demand. A computer problem of google: In one company, when a new employee comes to report, it is required to add the employee's information (id, gender, age, address...). When entering the employee's id, it is required to check Find all the information of the empl ...

Posted by rtconner on Mon, 07 Mar 2022 22:49:58 +0100

Java -- use of methods

1. Method definition and call So what is the method? A method is essentially a block of codeSo what is the significance of the method? After defining a method, you can call it repeatedly in different positions, so you don't need to write the same piece of code repeatedly. 1. Method definition and calling syntax Method definition syntax ...

Posted by Josh954r on Mon, 07 Mar 2022 21:49:56 +0100

equals() ? ==? hashCode()? Get to know you all today

catalogue Data types in Java When to use the relational operator = =, and when to use the equals method? For the equals method, why did you report a null pointer Java lang.NullPointerException? What does the hashCode method do? What is the relationship between hashCode and equals? Why must the hashCode method be overridden in every ...

Posted by amorphous on Mon, 07 Mar 2022 21:40:53 +0100

AOP learning record and @ Configuration annotation use

AOP is face to face, why face to face? What operations require AOP programming? The main purpose of Aop is to extract the aspects in the business processing process. It faces a step or stage in the processing process, so as to obtain the isolation effect of low coupling between various parts in the logical process. For example, the most com ...

Posted by robos99 on Mon, 07 Mar 2022 21:37:33 +0100

CSS layout (required) -- position attribute

CSS layout -- position attribute The position attribute specifies the type of positioning method (static, relative, fixed, absolute, or sticky) applied to the element. ------------------------------------------------------------------------------------------ position attribute The position attribute specifies the type of positioning me ...

Posted by omegared on Mon, 07 Mar 2022 21:28:17 +0100

Dynamically inject beans into Spring containers based on ImportBeanDefinitionRegistrar and FactoryBean

1, Background We have developed a third-party jar package to integrate with Spring and inject it into the Spring container. In their own jar packages, a custom annotation @ customimport (beanname = "") is added to the classes that need to be added to the Spring container. The value of the beanname attribute represents the name that n ...

Posted by Tonic-_- on Mon, 07 Mar 2022 21:17:55 +0100

Vue learning notes: Vue development

Configure environment dependencies Nodejs 14.15.4 npm 6.14.10 Install Taobao accelerator: # -g is a global installation npm install cnpm -g npm install --registry=https://registry.npm.taobao.org The default location for global installation of Node module under windows is C:\Users\xxx\AppData\Roaming\npm\node_modules Install Vue cli cnpm i ...

Posted by rthconsultants on Mon, 07 Mar 2022 21:09:23 +0100

Wechat applet to obtain the user's mobile phone number summary

preface The company has recently developed a program. The requirement is to obtain customer ID from the database through the user's mobile phone number, and carry out the following series of operations according to customer ID. Here is a summary of the experience: 1. Authorization to obtain ciphertext according to Official documents ...

Posted by Orpheus13 on Mon, 07 Mar 2022 20:59:00 +0100

Spring Boot transaction control

introduction In the process of business development and database operation, we will basically involve the operation of transactions, which can ensure the integrity of business logic. All data access technologies have transaction processing mechanisms. These technologies provide API s to start transactions, commit transactions to complete data ...

Posted by phpn00bf4life on Mon, 07 Mar 2022 20:53:14 +0100