Category Archives: 设计模式

设计模式-外观模式

1、概述 外观模式(Facade Pattern):外部与一个子系统的通信必须通 … Continue reading

More Galleries | Leave a comment

设计模式-装饰器模式

1、概述 装饰器模式(Decorator Pattern)允许向一个现有的对象添 … Continue reading

More Galleries | Leave a comment

设计模式-过滤器模式

1、概述 过滤器模式(Filter Pattern)或标准模式(Criteria … Continue reading

More Galleries | Leave a comment

设计模式-组合模式

1、概述 结构型模式 组合模式(Composite Pattern),又叫部分整 … Continue reading

More Galleries | Leave a comment

设计模式-桥接模式

1、概述 结构型模式 桥接模式是软件设计模式中最复杂的模式之一,它把事物对象和其 … Continue reading

More Galleries | Leave a comment

设计模式-解释器模式

1、概述 行为型模式 解释器模式(Interpreter Pattern)指给定 … Continue reading

More Galleries | Leave a comment

设计模式-迭代器模式

1、概述 迭代器模式是一种行为型设计模式,它提供了一种统一的方式来访问集合对象中 … Continue reading

More Galleries | Leave a comment

设计模式-原型模式

创建型模式有五种:单例模式、工厂模式、抽象工厂模式、建造者模式、原型模式。 本次 … Continue reading

More Galleries | Leave a comment

设计模式-建造者模式

1、概述 建造者模式又称生成器模式,所属创建型设计模式,它提供了一种最佳的创建对 … Continue reading

More Galleries | Leave a comment

设计模式-适配器模式

1、概述 结构型模式 2、优缺点 3、实现方式 类适配器 对象适配器 接口适配器 … Continue reading

More Galleries | Leave a comment