summary
Continued MyBatis learning notes (IV) - source code analysis - analysis process of configuration file (I) . In the previous article, we introduced the parsing process of properties and settings configuration. Today, we will take a look at the parsing process of other common properties, focusing on the parsing of typeAliases,envi ...
Posted by mariocesar on Wed, 18 May 2022 01:48:05 +0300
In short, Opitonal class is provided by Java. In order to solve the problem that we usually judge whether the object is empty, we will use null= The existence of obj is a headache, leading to NPE (Null Pointer Exception). At the same time, the existence of Optional can make the code simpler, more readable and more efficient
General judgment:
...
Posted by xhelle on Wed, 18 May 2022 00:26:51 +0300
Often disorderly folders will make us unable to find the files we want, so I specially made a visual GUI interface to realize the filing of files by categories by one click through the input path. Like to remember collection, praise and attention.
Different file suffixes are classified into different categories
Let's first list some types of ...
Posted by turdferguson on Tue, 17 May 2022 23:20:41 +0300
Generally speaking, a table corresponds to a mapper mapping file, but the storage of some attributes in the database does not directly store its contents, but stores its unique identification, such as id. the political outlook, Department, job level and position of employees in the following table are maintained through the id of each sub table ...
Posted by langemarkdesign on Tue, 17 May 2022 21:43:35 +0300
1. What is Babel
Babel is a tool chain, which is mainly used to convert code written in ECMAScript 2015 + syntax into backward compatible JavaScript syntax, so that it can run in current and old versions of browsers or other environments. Here's what Babel can do for you:
grammatical transformationAdd missing features in the target environmen ...
Posted by mad3533 on Tue, 17 May 2022 04:49:43 +0300
preface
Lambda functions are frequently used in python. Let's learn lambda functions today.
1, lambda syntax
The syntax of lambda function can only contain one statement. The format is as follows:
lambda [arg1 [,arg2,...argn]]:expression
lambda is the keyword reserved by python, arg1... argn is the parameter list, and expressi ...
Posted by csudhoff on Tue, 17 May 2022 02:50:19 +0300
Network programming
What is network programming?
Network programming allows programs to interact with programs in other devices on the network.
Basic mode of network communication
There are two common communication modes: client server (CS) and Browser/Server(BS)
Three elements of network communication
Three elements overview, element 1: ...
Posted by rex9990 on Tue, 17 May 2022 01:52:38 +0300
1. Structure
(1) A structure definition is a collection that describes different data types or the same data type. (complex type) (2) Access structure: pointer access structure (- >); Variable name access structure (.) (3) The difference between p and * p depends on whether it is a left value or a right value.
#if 1
#include < ...
Posted by heminfotech on Mon, 16 May 2022 23:33:28 +0300
Format output
python formats output in two ways: a percent sign and a format The function of format is more powerful than the percent sign method. The unique functions of format, such as custom character filling in blank, string centered display, binary conversion, automatic integer segmentation, percentage display and so on, cannot be com ...
Posted by johnh on Mon, 16 May 2022 23:30:34 +0300
definition:
Separate the abstract part from its implementation part so that they can change independently. It is an object structure mode, also known as handle and body mode or interface mode.
The bridge mode is similar to the multiple inheritance scheme, but the multiple inheritance scheme often violates the principle of single responsibilit ...