Design Patterns for Humans™代码示例的java实现版本及其模式的中文描述
-
创建型
-
结构型
-
行为性
MIT © Da Shen
- 创建型
- 🏠 简单工厂(Simple Factory)
- 🏭 工厂方法(Factory Method)
- 🔨 抽象工厂(Abstract Factory)
- 👷 建造者(Builder)
- 🐑 原型(Prototype)
- 💍 单例(Singleton)
- 结构型
- 🔌 适配器(Adapter)
- 🚡 桥接(Bridge)
- 🌿 组合(Composite)
- ☕ 装饰器(Decorator)
- 📦 外观(Facade)
- 🍃 享元(Flyweight)
- 🎱 代理(Proxy)
- 行为型
- 🔗 责任链(Chain of Responsibility)
- 👮 命令(Command)
- ➿ 迭代器(Iterator)
- 👽 中介者(Mediator)
- 💾 备忘录(Memento)
- 😎 观察者(Observer)
- 🏃 访问者(Visitor)
- 💡 策略(Strategy)
- 💢 状态(State)
- 📒 模板方法(Template Method)