[Java] lamda expression, static proxy mode
Lamda expression
λ It is the eleventh letter in the Greek alphabet, and its English name is Lambda.Why use lambda expressions: 1. Avoid too many anonymous inner class definitions. 2. It can make your code look very concise. 3. Remove a pile of meaningless code, leaving only the core logic.lambda expressions are essentially functiona ...
Posted by dawieharmse on Sat, 06 Nov 2021 22:29:49 -0700
Development framework VUE technology application summary
catalogue
VUE Foundation
MVVM design
VUE binding principle design
Virtual DOM tree analysis
VUE programming steps and Practice
Binding and instruction application
Binding style analysis (understand):
Application of life cycle function
Ajax requests in Axios mode
Get request
Post request
VUE component development
Component design
B ...
Posted by Ardivaba on Sat, 06 Nov 2021 22:25:01 -0700
Simple implementation of Sanzi chess
First release the whole game source code, followed by the corresponding description, and the output result is at the end
1, Project
1.game.h about game related function declarations, symbol declarations and header files
#Include < stdio. H > / / include header file
#Include < stdlib. H > / / include of rand function header file
# ...
Posted by zoidberg on Sat, 06 Nov 2021 22:12:11 -0700
Design pattern - (12) agent pattern
1. Definition
For some reason, an object needs to be provided with a proxy to control access to the object. At this time, the access object is not suitable or can not directly reference the target object. The proxy object acts as an intermediary between the access object and the target object.
2. UML class diagram
Abstract Subject: declar ...
Posted by Zilvermeeuw on Sat, 06 Nov 2021 21:47:20 -0700
prometheus adds login login authentication interface (implemented by nginx + Flash)
preface
prometheus is now a mainstream monitoring software. With the popularity of containers, prometheus is more and more widely used. I also have articles about prometheus earlier. However, unlike the traditional zabbix monitoring, prometheus web UI does not have login authentication, and sometimes it seems insecure. ...
Posted by kokomo310 on Sat, 06 Nov 2021 21:23:23 -0700
Basic JMeter - 57. Running JMeter script in Linux system
catalogue1. Installing Java environment in Linux system(1) Unzip the Java installation package(2) Configuring Java environment variables(3) Verify that the Java environment is configured successfully2. Installing JMeter on Linux system(1) Download JMeter(2) Transfer JMeter installation package to Linux system(3) Unzip the JMeter installation pa ...
Posted by kelesis on Sat, 06 Nov 2021 20:54:22 -0700
Analysis of cost flow
Template
EK
#include<iostream>
#include<cstdio>
#include<cstring>
#include<queue>
using namespace std;
inline int read()
{
int x=0,f=1;
char ch=getchar();
while(ch<'0'||ch>'9'){ if(ch=='-') f=-1;ch=getchar(); }
while(ch>='0'&&ch<='9'){ x=(x<<1)+(x<<3)+(ch^48);ch=getchar(); }
ret ...
Posted by gukii on Sat, 06 Nov 2021 20:09:01 -0700
Interpretation of core classes of XXL job basic components II: JobTriggerPoolHelper
preface:
In the process of specifically interpreting the functional principles of the core classes of JobTriggerPoolHelper, please familiarize yourself with the basic principles of ThreadPoolExecutor, volatile, ConcurrentMap, AtomicInteger, etc. at the same time, please consider the problems of JobTriggerPoolHelper ...
Posted by Sentosa on Sat, 06 Nov 2021 19:51:37 -0700
c Language Learning: Enumerations and Structures
Constant symbolization:
Use symbols instead of specific numbers to represent numbers in programsconst int a=12; const fixes a to a value of 12
Enumeration:
Enumeration is a user-defined data type that is declared with the keyword enum in the following syntax:enum enumeration type name {nam ...
Posted by robviperx on Sat, 06 Nov 2021 19:49:26 -0700
mysql lock and transaction isolation level
catalogue
1. Meter lock
2. Row lock
two point one Read uncommitted
2.1.1 analog dirty reading
2.2 read submitted
2.2.1 test dirty reading problem
2.2.2 non repeatable reading
2.2.3 repeatable
2.2.4 mvcc (to be supplemented)
2.2.5 unreal reading
2.2.6 serialization (to be supplemented) ...
Posted by sangprabv on Sat, 06 Nov 2021 19:40:11 -0700