It's not clear how to object-oriented yet?
This paper mainly introduces the basic idea and three characteristics of object-oriented.
The article was first published under the public slogan Pedestrian View.
1. Introducing Examples
Create a Dog puppy
/**
* Puppies
*/
public class Dog {
String name;
Integer age;
Integer legs;
public void say(String name) {
Sys ...
Posted by ruach on Sat, 13 Jun 2020 20:23:52 +0200
Make full use of Git to cancel and improve project quality (recruitment at the end of the article)
0x001 general
An excellent front-end engineer must be an excellent engineer first; an excellent engineer must be responsible for every line of code he writes and every commit he submits. That said, I don't want to write a very large and comprehensive article, but I want to write some small things.
0x002 undo git add
We know that to submit a com ...
Posted by kkessler on Sat, 13 Jun 2020 11:39:17 +0200
2, End of spring AOP (in supplement...)
1, Basic source code analysis
1. Find the entrance
Spring's AOP is started by accessing the BeanPostProcessor postprocessor
2.BeanPostProcessor
BeanPostProcessor is embodied in the doCreateBean of IOC source code analysis, the latter sentence of populateBean
Object exposedObject = bean;
try {
po ...
Posted by ghostrider1 on Sat, 13 Jun 2020 07:56:32 +0200
Java Functional Interface--Abstract Method Interface
1 Functional Interface
Functional interfaces in Java refer to interfaces that have one and only one abstract method
Functional interfaces, that is, interfaces for functional programming scenarios; while functional programming in Java is represented by Lambda, so functional interfaces are interfaces th ...
Posted by chris_s_22 on Sat, 13 Jun 2020 03:57:12 +0200
Shell_04_Regular expression RE
Shell_04_Regular expression RE
What is a regular expression
Simply put, a regular expression is the way to process strings. It handles strings in units of behavior. Regular expressions, assisted by some special symbols, make it easy for users to "search/delete/replace" a particular string ...
Posted by geekette on Sat, 13 Jun 2020 03:06:51 +0200
Java OOP inheritance
1, The concept of inheritance
Inheritance is a cornerstone of java object-oriented programming technology, because it allows the creation of hierarchical classes.
Inheritance means that the subclass inherits the characteristics and behaviors of the parent class, making the subclass object (instance) have the instance domain and methods of the p ...
Posted by Anidazen on Fri, 12 Jun 2020 10:43:12 +0200
C. learning notes - Method inheritance
inherit
Inheritance is one of the most important concepts in object-oriented programming. Inheritance allows us to define another class according to one class, which makes it easier to create and maintain an application, and is also conducive to code reuse and development time saving.
Syntax:[access m ...
Posted by kts on Fri, 12 Jun 2020 10:21:33 +0200
Spring cloud: Advanced Application of Spring Cloud Gateway
Fusing
Current limiting
retry
1. Speed limit router
Speed limit is one of the common means in high concurrency scenarios, which can effectively guarantee the overall stability of the service. Spring Cloud Gateway provides a Redis based flow limit scheme. So we need to add the corresponding dependency package spring boot starter data R ...
Posted by llangres on Fri, 12 Jun 2020 08:28:01 +0200
[elegant code writing system] springboot+mybatis+pagehelper+mybatisplus+druid shows you how to write code gracefully
[TOC]
Springboot integrates a lot of plug-ins. Compared with spring, springboot is a little bit
Auto configuration: for many spring applications, springboot provides many auto configurations
Start dependency: tell springboot what you need, and it will introduce the required Library
Command line interface: optional features of springboot
Autu ...
Posted by jbruns on Thu, 11 Jun 2020 06:23:55 +0200
Java rules engine Easy Rules
1. Overview of Easy Rules
Easy Rules is a Java rules engine inspired by a piece called< Should I use a Rules Engine? >The article of
The rule engine is to provide an optional calculation model. Unlike the usual imperative model, which consists of commands with conditions and cycles in turn, the rule engine is based on the production rule ...
Posted by lrdaramis on Thu, 11 Jun 2020 06:11:10 +0200