Different basic details of Java
Reading needs a certain foundation, which is not suitable for people who first know Java. There are some concise languages, some knowledge points or a brush, and you don't know that you need to consult the materials in detail. The purpose of this article is to supplement some details of Java foundation, some slightly in-depth places and some pl ...
Added by B34ST on Thu, 17 Feb 2022 06:13:07 +0200
In depth analysis of the source code of cloud + Spring + Rocket + spring
1, Introduction to RocketMQ architecture
1.1 logical deployment diagram
(pictures from the Internet)
1.2 description of core components
As can be seen from the above figure, RocketMQ's core components mainly include four, namely NameServer, Broker, Producer and Consumer. Let's briefly explain these four core components in turn:
NameServe ...
Added by phpBuddy on Thu, 17 Feb 2022 05:28:36 +0200
Scala grammar tutorial
Chapter 1 Introduction to Scala
1.1 general
Scala is a static type programming language that takes Java virtual machine (JVM) as the running environment and combines the best features of object-oriented and functional programming (static languages need to be compiled in advance, such as Java, c, c + +, dynamic languages such as js).
1) Scala ...
Added by Iconoclast on Thu, 17 Feb 2022 05:15:33 +0200
AbstractQueuedSynchronizer (AQS) source code detailed analysis - CountDownLatch source code analysis
AbstractQueuedSynchronizer (AQS) source code detailed analysis - CountDownLatch source code analysis
1. CountDownLatch introduction
CountDownLatch is a simple synchronizer. It means that one or more threads are allowed to wait for the operation of other threads to complete before performing subsequent operations.
Common usage of CountDownLat ...
Added by tulleh on Thu, 17 Feb 2022 05:10:11 +0200
Basic knowledge of Java exception and handling in Java
catalogue
abnormal
1. Classification of anomalies
2. Two methods of handling exceptions
try...catch...finally
The difference between compile time exception and run-time exception:
Methods in Throwable
finally
throws
throw
The difference between throws and throw:
abnormal
Abnormal condition in Java program
1. Classification of ano ...
Added by johanafm on Thu, 17 Feb 2022 04:00:01 +0200
day14 method principle method naming method composition method overloading
catalogue
What is the method
Method definition and call
Method overloading
Command line parameters
Variable parameter
recursion
What is the method?
Method is an ordered combination of steps to solve a class of problems Methods are contained in classes or objects Methods are created in the program and referenced elsewhere Use a piece ...
Added by THESiUS on Thu, 17 Feb 2022 03:42:36 +0200
Java basic summary method, array
method
A Java method is a collection of statements that together perform a function; Method is an orderly combination of steps to solve a class of problems, which is contained in classes and objects; Methods are created in the program and referenced elsewhere
Method definition and call
definition
Java method is similar to functions in oth ...
Added by poppy28 on Thu, 17 Feb 2022 03:25:34 +0200
Android monitors mobile app usage
brief introduction
In this article, Android is used to obtain the Activity on the top of the mobile phone to monitor the usage of mobile applications
Technical background
In my daily study, I want to automatically collect the use time of various applications of mobile phone software, such as get, geek time, Keep, wechat reading, etc
However ...
Added by lorne17 on Wed, 16 Feb 2022 22:43:07 +0200
Detailed binary tree classical basic algorithm
Binary tree is a common data structure in our daily learning. During the interview and study, we will inevitably encounter some algorithm problems related to binary tree. Today, I brought you some classic binary tree basic algorithm problems. Let's have a look!
catalogue
1. Check whether the two trees are the same
① Title Description
② tr ...
Added by swissmant on Wed, 16 Feb 2022 19:50:30 +0200
Detailed explanation of Java Lambda expression
What is a Lamdba expression
According to Baidu:
lambda expression is an anonymous function. lambda expression is based on λ The name of calculus directly corresponds to the lambda abstraction. It is an anonymous function, that is, a function without a function name. Lambda expressions can represent closures (note the difference from ...
Added by aspguy on Wed, 16 Feb 2022 16:20:20 +0200