[2w word dry goods] the difference between ArrayList and LinkedList and the underlying implementation in JDK11

1 Overview This article mainly describes the similarities and differences between ArrayList and LinkedList, as well as their underlying implementation environment (OpenJDK 11.0.10). 2 difference between the two Before introducing the underlying implementation of the two in detail, let's take a brief look at the similarities and differences b ...

Added by speedyslow on Tue, 08 Mar 2022 07:31:21 +0200

python -- regular expression (re module) detailed explanation

When Python needs to match the name of a module, it can be brought into Python through the regular expression. The approximate matching process of regular expressions is: 1. Compare the characters in the expression and text in turn, 2. If each character can be matched, the matching is successful; Once there are characters that fail to match, t ...

Added by gilreilly on Tue, 08 Mar 2022 07:29:00 +0200

PyWebIo quickly build web applications

Part1 what is PyWebIo PyWebIO provides a series of command-based interactive functions to obtain user input and output on the browser, turning the browser into a "rich text terminal", which can be used to build simple Web applications or browser based GUI applications. Using PyWebIO, developers can write applications like writing ter ...

Added by wama_tech on Tue, 08 Mar 2022 07:28:07 +0200

Review of basic knowledge of Java-01

How Java works: Write source code - > compile by compiler - > output - > JVM (Java virtual machine, that is, Java environment) reads and executes the output content Circular statement: data type typeNumber of byteslengthbyte1-128~127short 2-32768~32767int 4-2147483648~2147483647long 8-9223372036854775808L~9223372036854775807Lfloat4+ ...

Added by daeken on Tue, 08 Mar 2022 07:24:56 +0200

SAM complexity proof

Proof of the complexity of $SAM $(mostly my own understanding and opinion of the blog) This part is my memory, which can be omitted Recall $SAM first$ In my understanding of $SAM $, first pick a picture Initial string $aabbabd$ First, it is found that a straight line of $s - > 9 $in the figure below is $aabbabd $and $is the original string F ...

Added by Rommeo on Tue, 08 Mar 2022 07:24:19 +0200

if and switch statements of branch statements

Branch statement if branch statement 1. Decide whether to execute a piece of code according to a concept or a condition 2. Grammatical form (1) if statement if (conditional) {snippet} Meaning: when the condition is true, the code segment in {} will be executed, otherwise it will not be executed var age=16 if (age>=18){ console.log( ...

Added by ebgames56 on Tue, 08 Mar 2022 07:21:05 +0200

Adapter pattern of Java design pattern

Adapter pattern of Java design pattern Basic introduction (1) Adapter pattern converts the interface of a class into another interface representation expected by the client. The main purpose is compatibility, so that two classes that cannot work together due to interface mismatch can work together. Its alias is wrapper (2) The adapter mode is ...

Added by Thumper on Tue, 08 Mar 2022 07:18:39 +0200

spring ladp configuration file

https://www.cnblogs.com/miracle77hp/articles/11322944.html Spring LDAP is a component of spring that implements LDAP operations. When programming and operating MySQL, we may use some frameworks except JDBC, such as JbdcTemplate. The implementation of JdbcTemplate is to pass in sql statement and RowMapper, and query returns the target list, or p ...

Added by moehome on Tue, 08 Mar 2022 07:12:42 +0200

Application and simple simulation of common string functions and memory functions

string .h header file defines a variable type, a macro, several string functions and memory operation functions. Variable type size_t It is the result of the sizeof keyword. In C language, sizeof() is an operator to judge the length of data type or expression, not a function. It returns the number of memory bytes occupied by an object or ty ...

Added by dajawu on Tue, 08 Mar 2022 07:09:19 +0200

On unit testing

What's the use of unit testing Improve the work efficiency of the whole team. Quality code is a contribution to the whole team Improve the programmer's sense of responsibility and code quality. Through unit testing, ensure that your code is reliable and complete, which is responsible for yourself and the team Get a regression test tool for ...

Added by techker on Tue, 08 Mar 2022 07:07:07 +0200