设计模式知识点总结

文章目录

  • [1 设计模式](#1 设计模式)
    • [1.1 创建型(Creational)](#1.1 创建型(Creational))
      • [1.1.1 【类】工厂方法模式(Factory Method)](#1.1.1 【类】工厂方法模式(Factory Method))
      • [1.1.2 抽象工厂模式(Abstract Factory)](#1.1.2 抽象工厂模式(Abstract Factory))
      • [1.1.3 建造者模式(Builder)【2020】](#1.1.3 建造者模式(Builder)【2020】)
      • [1.1.4 原型模式(Prototype)](#1.1.4 原型模式(Prototype))
      • [1.1.5 单例模式(Singleton)](#1.1.5 单例模式(Singleton))
    • [1.2 结构型(Structural)](#1.2 结构型(Structural))
      • [1.2.1 【类】适配器模式(Adapter - Class)](#1.2.1 【类】适配器模式(Adapter - Class))
      • [1.2.2 适配器模式(Adapter - Object)【2022】](#1.2.2 适配器模式(Adapter - Object)【2022】)
      • [1.2.3 桥接模式(Bridge)](#1.2.3 桥接模式(Bridge))
      • [1.2.4 组合模式(Composite)](#1.2.4 组合模式(Composite))
      • [1.2.5 装饰模式(Decorator)](#1.2.5 装饰模式(Decorator))
      • [1.2.6 外观模式(Facade)](#1.2.6 外观模式(Facade))
      • [1.2.7 享元模式(Flyweight)](#1.2.7 享元模式(Flyweight))
      • [1.2.8 代理模式(Proxy)](#1.2.8 代理模式(Proxy))
    • [1.3 行为型(Behavioral)](#1.3 行为型(Behavioral))
      • [1.3.1 【类】解释器模式(Interpreter)](#1.3.1 【类】解释器模式(Interpreter))
      • [1.3.2 【类】模板方法模式(Template Method)](#1.3.2 【类】模板方法模式(Template Method))
      • [1.3.3 责任链模式(Chain of Responsibility)【2022】](#1.3.3 责任链模式(Chain of Responsibility)【2022】)
      • [1.3.4 命令模式(Command)【2021】](#1.3.4 命令模式(Command)【2021】)
      • [1.3.5 迭代器模式(Iterator)【对象】](#1.3.5 迭代器模式(Iterator)【对象】)
      • [1.3.6 中介者模式(Mediator)【2021】](#1.3.6 中介者模式(Mediator)【2021】)
      • [1.3.7 备忘录模式(Memento)【对象】](#1.3.7 备忘录模式(Memento)【对象】)
      • [1.3.8 观察者模式(Observer)【对象】](#1.3.8 观察者模式(Observer)【对象】)
      • [1.3.9 状态模式(State)【对象】](#1.3.9 状态模式(State)【对象】)
      • [1.3.10 策略模式(Strategy)【2021】](#1.3.10 策略模式(Strategy)【2021】)
      • [1.3.11 访问者模式(Visitor)【对象】](#1.3.11 访问者模式(Visitor)【对象】)

1 设计模式

1.1 创建型(Creational)

1.1.1 【类】工厂方法模式(Factory Method)

1.1.2 抽象工厂模式(Abstract Factory)

1.1.3 建造者模式(Builder)【2020】



1.1.4 原型模式(Prototype)

1.1.5 单例模式(Singleton)

1.2 结构型(Structural)

1.2.1 【类】适配器模式(Adapter - Class)

1.2.2 适配器模式(Adapter - Object)【2022】


1.2.3 桥接模式(Bridge)

1.2.4 组合模式(Composite)

1.2.5 装饰模式(Decorator)

1.2.6 外观模式(Facade)

1.2.7 享元模式(Flyweight)

1.2.8 代理模式(Proxy)

1.3 行为型(Behavioral)

1.3.1 【类】解释器模式(Interpreter)

1.3.2 【类】模板方法模式(Template Method)

1.3.3 责任链模式(Chain of Responsibility)【2022】


1.3.4 命令模式(Command)【2021】



1.3.5 迭代器模式(Iterator)【对象】

1.3.6 中介者模式(Mediator)【2021】


1.3.7 备忘录模式(Memento)【对象】

1.3.8 观察者模式(Observer)【对象】

1.3.9 状态模式(State)【对象】

1.3.10 策略模式(Strategy)【2021】



1.3.11 访问者模式(Visitor)【对象】

相关推荐
YHL1 天前
🎯 JavaScript 单例模式(Singleton Pattern)—— 从理论到实战
javascript·设计模式
2401_868534782 天前
网络环境规划核心考点全梳理
网络·设计模式
feiyu_gao2 天前
Cocreation Framework:一套给所有人的 AI 协作思考系统
设计模式·aigc·ai编程
善良勤劳勇敢而又聪明的老杨3 天前
【AI编程系列】MCP 常用设计模式解读
设计模式·ai编程
geovindu3 天前
java: Strategy Pattern
java·开发语言·后端·设计模式·策略模式·行为模式
码匠许师傅3 天前
【设计模式精讲】29.行为型模式总结与对比(Behavioral Patterns Summary)
c++·设计模式·uml
geovindu3 天前
CSharp: Observer Pattern
开发语言·后端·观察者模式·设计模式·c#·.netcore·行为模式
YHHLAI4 天前
NestJS 后端开发实战:从设计模式到 CRUD 全栈
设计模式
2401_868534785 天前
长远目标 Long-term Goal 老题沿用
设计模式·需求分析
吃饱了得干活5 天前
Java设计模式实战:一个支付模块的重构之旅,层层递进理解设计模式精髓
后端·设计模式·架构