java design patterns/design principles

Life lies not in length, but in width. It means that quality is the focus of life. We can see that the life of old age is sad, and the life of young people is muddled. This cannot be changed by manpower. Therefore, the key to improving the quality of life lies in the young and middle-aged. Thirty years from twenty to fifty years old are enough. Even if you die at the age of fifty or sixty, you can look down.

Seven design principles

Single responsibility of the seven design principles of java, the principle of interface isolation (combination of text and code to understand)

Reliance inversion of the seven design principles of java, the principle of Liskov substitution (combination of text code to understand)

The Dimit principle, the principle of opening and closing, and the principle of composite reuse (combined understanding of text codes) of the seven design principles of java

Android studio UML modeling

The relationship between java class and class

Design Patterns

Creation type

Creation type of java design pattern: singleton pattern (1)

Creation type of java design pattern: factory method/abstract factory pattern (2)

Creation type of java design pattern: prototype pattern (3)

Creation type of java design pattern: builder pattern (4)

Structure type

Structural type of java design pattern: adapter pattern (5)

Structural type of java design pattern: bridge pattern (6)

Structural type of java design pattern: agent pattern (7)

Structural type of java design pattern: decorator (decorator) pattern (8)

Structural type of java design pattern: combination pattern (9)

Structural type of java design pattern: appearance pattern (10)

Structural type of java design pattern: Flyweight pattern (11)

Behavioral

Template method pattern of java design pattern (12)

Command mode of java design pattern (13)

The visitor pattern of java designer pattern (14)

Iterator pattern of Java design patterns (15)

Observer pattern of java design pattern (16)

Below is my official account. I usually send some knowledge of andorid (java) and flutter (dart) . It is mainly used to record some small knowledge in work development. If you like, you can scan the QR code to improve each other. ~

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_44819566/article/details/112367173