java. Quick sort QuickSort
Record the differences and improvements of one-way quick sort, two-way quick sort and three-way quick sort
Basic idea: divide the records to be arranged into two independent parts through one-time sorting. If the keywords of one part of the records are smaller than those of the other part and larger than those of the other part, the records of ...
Added by canishk on Sat, 12 Feb 2022 18:19:30 +0200
How does Spring Boot handle logs?
Hi! Hello, everyone. Today I'll teach you how to configure logs in the Spring Boot project. What's the use of logs? Of course, it is to record the system operation records, which is convenient for us to troubleshoot and observe the system operation status. In production practice, log processing is a very important part.
Log level
Common log l ...
Added by Jammerious on Sat, 12 Feb 2022 18:16:48 +0200
[Android source code learning] SharedPreferences source code learning
Chapter 1: SharedPreferences source code learning
Defects in Android SharedPreferences
Cause ANRCause CatonAll read and write to memoryData lossCannot cross process
Comparison of MMKV, Jetpack DataStore and SharedPreferences
functionMMKVJetpack DataStoreSharedPreferencesWhether to block the main threadnonoyesThread safeyesyesyesIs cross ...
Added by supratwinturbo on Sat, 12 Feb 2022 16:48:35 +0200
String expression evaluation
It can carry out addition, subtraction, multiplication and division, exponential operation, power operation, factorial operation, trigonometric function operation and logarithmic function operation.
Because the previous ones are easy to handle, here I mainly explain that the operation of trigonometric function and logarithmic function can adop ...
Added by tdnxxx444 on Sat, 12 Feb 2022 15:11:26 +0200
Java -- object oriented (medium) -- super keyword and method rewriting
catalogue
1, Basic grammar
2, Benefits / details of super to programming
3, Comparison between super and this
super class explanation code
4, Method override / override
1. Basic introduction
2. Precautions and use details
Basic introduction
super represents the reference of the parent class and is used to access the properties, const ...
Added by kovudalion on Sat, 12 Feb 2022 14:26:54 +0200
24 MagicAccessorImpl can access the debugging of all methods
preface
I saw an article before java reflection calls private related
A screenshot of the boss inside shows why the generated method accessor generated at runtime can access all methods
Hehe, to tell you the truth, this problem has not been considered before
However, the screenshot of the boss is still a little abstract and is not connecte ...
Added by lookee on Sat, 12 Feb 2022 13:47:14 +0200
Spring ----------- spring and the Web
preface
To use the Spring framework in a web project, we must first solve the problem of obtaining the Spring container in the web layer (here referred to as Servlet). As long as the Spring container is obtained in the web layer, the Service object can be obtained from the container.
1, Problems of using Spring in Web projects
Exampl ...
Added by dc277 on Sat, 12 Feb 2022 12:51:21 +0200
SSMP integration case: addition, deletion, search and modification based on book information
Integration case based on SSMP
I Implementation case scheme analysis
Case making process Basic CRUD function Call the page and make all functions after confirming asynchronous submission Add paging function and query function
II Create backend project environment
2.1 creating modules
Create module First, add web - "Spring Web" ...
Added by stevepatd on Sat, 12 Feb 2022 10:34:41 +0200
Instructions for common RedisTemplate collections
Here, I use the jar package spring boot starter data redis of redisTemplate combined with spring boot framework, which is introduced in the way of POM. The introduction code is as follows:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<versi ...
Added by UseeHere on Sat, 12 Feb 2022 10:12:48 +0200
[easily understand design mode] the responsibility chain mode used by large factories
I'm kangarooking, not my brother's brother. An Internet worm "gua" cow, climb up step by step with you, and one day there will be a day for us. Pay attention to me and make a little progress every day ❗ ❗ ❗Foreword (flicker)After reading the source code of some open source frameworks, I found that the responsibility chain model is ...
Added by mattonline on Sat, 12 Feb 2022 10:07:06 +0200