Skip to content

ICDI0906/Design-Pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design-Pattern

包含了java 中23种设计模式,用了三天时间来学习和整理。使用的IED为Eclipse,类图使用的是AmaterasUML插件自动生成的。

创建型

抽象工厂模式(abstract_factory), 建造者模式(Builder), 工厂方法模式(factory method), 原型模式(Prototype), 单例模式(Singleton)

结构型

适配器模式(Adapter), 桥接模式(Bridge), 组成模式(Composite), 装饰者模式(Decorator), 外观模式(Facade), 享元模式(Flyweight), 代理模式(Proxy)

行为型

职责链模式(Chain of Responsibility), 命令模式(Command), 解释器模式(Interpreter), 迭代器模式(Iterator), 中介者模式(Mediator), 备忘录模式(Memento), 观察者模式(Observer), 状态模式(State), 策略模式(Strategy), 模板方法模式(template_method), 访问者模式(Visitor)

易混淆的设计模式

抽象工厂模式 和 工厂方法模式
适配器模式 和 装饰器模式
中介者模式 和 观察者模式
策略模式 和 模板方法模式

相似结构的设计模式

状态模式,策略模式 和 模板方法模式

About

包含了java 中23种设计模式

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages