几种常用的设计模式 (Design Pattern)
文章目录设计模式(Design Pattern)一、设计模式的分类1. 基础型模式 (Fundamental Pattern)2. 创建型模式 (Creational Pattern)3. 结构型模式 (Structural Pattern)4. 行为型模式 (Behavioral Pattern)5. 并发型模式 (Concurrency Pattern)二、设计模式详解1.工厂方法模式(Factory Method)应用场景缺点2.策略模式(Strategy Pattern)应用场景缺点3.访问者模式(
复制链接