设计模式知识点总结

文章目录

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

相关推荐
啦啦啦啦啦zzzz1 小时前
设计模式:建造者模式
c++·设计模式·建造者模式
梓仁沐白3 小时前
【Agent 设计模式】推理技术
设计模式
Kinghiee3 小时前
从使用场景切入前端常见设计模式
前端·设计模式
啦啦啦啦啦zzzz1 天前
设计模式:单例模式和工厂模式
c++·单例模式·设计模式·工厂模式
小白说大模型1 天前
Python 工程化设计模式:AI 项目中的异步流水线与策略模式实战
人工智能·python·设计模式
choumin1 天前
行为型模式——中介者模式
c++·设计模式·中介者模式·行为型模式
geovindu2 天前
Java: Chain of Responsibility Pattern
java·开发语言·后端·设计模式·责任链模式·行为模式
workflower3 天前
装备企业的 AI 路线图
人工智能·深度学习·机器学习·设计模式·机器人
geovindu3 天前
CSharp:Chain of Responsibility Pattern
开发语言·后端·设计模式·c#·.net·责任链模式·行为模式
梓仁沐白3 天前
【Agent 设计模式】路由模式(Routing)
大数据·设计模式