When asked about java thread status in the interview, did you look at a loss? Don't panic! Take it easy after reading this article!
Thread state of Java
Thread method
methodexplainsetPriority(int newPriority)Change the priority of a threadstatic void sleep(long millis)Hibernates the currently executing thread for the specified number of millisecondsvoid join()Wait for the thread to terminatestatic void yield()Pauses the currently executing thread object and executes ...
Posted by abushahin on Fri, 24 Dec 2021 14:11:44 +0100
Standing and cleaning of Git tool series
Often, our development work focuses on a certain part of the project, and all kinds of things are still in chaos. At this time, you want to switch branches to do other things. The problem is that the current work has not been completed and cannot be submitted to the local or remote warehouse. You have to switch back to this state and continue ...
Posted by Syranide on Sun, 19 Dec 2021 09:38:55 +0100
My first experience of Go + language -- Go language summary (grammar + practical problem solutions)
Introduction to Go language:
As the father of C language, Go language is widely used in various fields in the future. Its grammatical features are similar to C language and more flexible.
Goland
Goland is a commercial version of the Jetbrains family ide Download address: Goland
LiteIDE
Open source go language IDE Source address: Github D ...
Posted by sumolotokai on Sun, 05 Dec 2021 07:58:37 +0100
Three characteristics of Java object-oriented -- Inheritance
inherit
Commonness extraction
In inheritance, a subclass is a parent, that is, a subclass can be treated as a parent
For example, the parent class is an employee, the child class is a lecturer, and the lecturer is an employee
Define parent class: (the definition of ordinary class is the same)
public class parent class name{
//......
}
D ...
Posted by ethan.whitt on Fri, 19 Nov 2021 18:27:27 +0100
2 - branch and loop statements
2 - branch and loop statements
1. Branch statement if switch
2. Circular statement while for do while
3. goto statement (jump statement)
1. What is a statement?
C statements can be divided into the following five categories:
Expression statementFunction call statementControl statementCompound statementEmpty statement
Control statements a ...
Posted by radi8 on Wed, 17 Nov 2021 10:31:53 +0100
Online text replacement tool, support regular expressions (add Javascript or < script > statements in blog articles)
Overview and introduction
Publish an article in the blog Garden, which is "online text replacement tool, support for regular expressions" https://www.cnblogs.com/lsllll44/articles/15522697.html
This is a tool composed of Html + JavaScript. Because the blog Park supports publishing articles in html and uploading their own js f ...
Posted by zenag on Fri, 12 Nov 2021 20:34:59 +0100
8k Star! A powerful JS code obfuscation tool
[introduction]: an open source code obfuscator, which can confuse JS code into code with low readability.brief introductionJavaScript Obfuscator is a powerful free JavaScript Obfuscator, which contains a variety of functions. It can confuse the code into code with low readability. It looks like hard to read code. In fact, it has the same functi ...
Posted by ExpendableDecoy on Tue, 09 Nov 2021 07:30:19 +0100
RecyclerView rollback and drop-down refresh in the most elegant way
SatisOverScroll
Foreword: A big gap between Android and IOS development is the inertial roll-back effect. The effect is really more "human nature", which is why many Android developers are competing to follow, of course I am no exception.
As a five-year-old ape, he has long been dissatisfied with the various open source framewo ...
Posted by john1704 on Fri, 22 Oct 2021 08:51:55 +0200