设计模式知识点总结

文章目录

  • [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)【对象】

相关推荐
怕浪猫15 小时前
领域特定语言(Domain-Specific Language, DSL)
设计模式·程序员·架构
Larcher3 天前
AI Loop:让AI像人一样自主完成任务的核心机制
javascript·人工智能·设计模式
咖啡八杯4 天前
GoF设计模式——享元模式
java·spring·设计模式·享元模式
:mnong4 天前
学习创建结构行为设计模式
设计模式
w_t_y_y4 天前
Agent设计模式(四)多模态融合模式(Multi-Modal Fusion)
设计模式
zhouhui0014 天前
订单状态的 if-else 地狱上线就崩——状态模式的工业级落地
设计模式
geovindu4 天前
go: Reactor Pattern
开发语言·后端·设计模式·golang·反应器模式
一只旭宝4 天前
【C++入门精讲22】常见设计模式
c++·设计模式
许彰午5 天前
38_Java设计模式之装饰器模式
java·设计模式·装饰器模式