Interview shock 25: what's the difference between sleep and wait

Both the sleep method and the wait method are used to put the thread into the sleep state, and both the sleep method and the wait method can respond to the interrupt interrupt, that is, if the thread receives the interrupt signal during sleep, it can respond and throw the InterruptedException exception. What are the differences between sleep an ...

Added by sbinkerd1 on Wed, 23 Feb 2022 03:22:55 +0200

Change the call, apply and bind methods pointed to by this

?? Blog home page: Sour dog blog?? ?? Welcome to?? give the thumbs-up?? Collect messages?? ?? Love front-end learning and look forward to communicating together! ?? The author's level is very limited. If you find an error, please let me know. Thank you!?? ?? If you have any questions, please send me a private letter?? ?? Change the call, app ...

Added by kusal on Wed, 23 Feb 2022 03:12:17 +0200

`vue3`+`ts`+`setup ` syntax sugar implements an infinitely nested 'tree' component

Today, we use vue3+ts+setup syntax to implement an infinitely nested tree component. Let's take a look at the implementation effect first. The style has not been modified too much. This article is a very basic content. I have just come into contact with vue3 this set. Recently, I have also started to practice and use vue3 to implement some vue ...

Added by azfar siddiqui on Tue, 22 Feb 2022 18:58:31 +0200

python Basics (interview)

Differences between get post requests 1. post Request security higher than get. get Request to expose parameters directly to url Up, post Request to hide parameters To pass a password post 2. get The request has a limit on the length of the data, url The maximum length of is 2048 characters. post unlimited When transferring large amounts ...

Added by Hodo on Mon, 21 Feb 2022 17:45:57 +0200

Vue.js, deep monitoring of watch

Because of Xiaobian's marriage and family affairs. I stopped updating for a long time. Today, Xiaobian came back again. Today, let's take you to learn about Vue Use of watch listening events in JS. Usage of handler and immediate <div> <h2>It's a fine day today{{info}}</h2> <button @click="isHot = !isHot">Po ...

Added by ttroutmpr on Mon, 21 Feb 2022 16:16:01 +0200

The use of Vue Router 4 is thoroughly explained in an article

Vue 3.X using Vue router 4 X for routing configuration, let's study how to use Vue router 4 x. All usage methods in this article are using the Composition API. This paper introduces Vue router 4 step by step X to build a simple blog system, so that you can understand the new version of Vue router 4 X has a complete understanding, and then can ...

Added by nkyoung1 on Mon, 21 Feb 2022 13:42:20 +0200

Encapsulation of background interface method of uni app request

preface: Request background interface for method collation in uni app. Personal encapsulated version and official method. Official entrance: Package version: see the following table of contents 1. Create a new folder api, which mainly puts the interface information login.js interface method for putting login page import axios from '../u ...

Added by gl_itch on Mon, 21 Feb 2022 13:28:55 +0200

TypeScript learning notes

TypeScript learning notes TypeScript overview and environment Install the toolkit typescript for parsing TSInstall the TS node toolkit to simplify TS executionEntry codeNotes in TS JS original type numberstringbooleanundefinednullobject Object type basic usageFunction writing in object type arrayfunction Definition of function ...

Added by JoeCrane on Mon, 21 Feb 2022 13:22:14 +0200

Spring MVC learning notes. Deal with submitted data and garbled code, spring MVC garbled code filter, custom garbled code filter, Tomcat configuration coding

Article catalogue Deal with data submission and garbled code1. Data processing 1. Processing submitted data2. Data display to the front end 2. Garbled code 2.1 use spring MVC's own filter2.2 custom filters Deal with data submission and garbled code 1. Data processing 1. Processing submitted data The domain name of the submitted data ...

Added by slibob on Mon, 21 Feb 2022 13:08:55 +0200

Notes on common knowledge points of JavaScript

preface js notes, a good memory is not as good as a bad pen. It summarizes some commonly used knowledge points. Send it to csdn as a backup. The previous ones are relatively simple, so I didn't write them. I only wrote some knowledge points that I think are easy to forget. If there are mistakes, please give me some advice. JavaScript prefa ...

Added by jokullsolberg on Mon, 21 Feb 2022 12:51:53 +0200