JasonChang

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 ··· 18 下一页

2013年12月4日

摘要: The Bridge Pattern:Decouple an abstraction from its implementation so that the two can vary independently. 阅读全文
posted @ 2013-12-04 14:17 JasonChang 阅读(76) 评论(0) 推荐(0) 编辑

摘要: The Proxy Patternprovides a surrogate or placeholder for another object to control access to it. 阅读全文
posted @ 2013-12-04 13:28 JasonChang 阅读(107) 评论(0) 推荐(0) 编辑

摘要: The State Patternallows an object to alter its behavior when its internal state changes. The object will appear to change its class. 阅读全文
posted @ 2013-12-04 12:33 JasonChang 阅读(103) 评论(0) 推荐(0) 编辑

摘要: The Composite Patternallows you to compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly. 阅读全文
posted @ 2013-12-04 10:31 JasonChang 阅读(132) 评论(0) 推荐(0) 编辑

摘要: The Iterator Pattern provides a way to access the elements of an aggregate object sequentially without exposing its underlying representation. 阅读全文
posted @ 2013-12-04 10:11 JasonChang 阅读(123) 评论(0) 推荐(0) 编辑

2013年12月3日

摘要: The Template Method Patterndefines the skeleton of an algorithm in a method, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure. 阅读全文
posted @ 2013-12-03 15:56 JasonChang 阅读(93) 评论(0) 推荐(0) 编辑

摘要: The Facade Patternprovides a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use. 阅读全文
posted @ 2013-12-03 14:49 JasonChang 阅读(91) 评论(0) 推荐(0) 编辑

摘要: The Adapter Patternconverts the interface of a class into another interface the clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces. Object Adapter v.s. Class Adapter 阅读全文
posted @ 2013-12-03 14:20 JasonChang 阅读(106) 评论(0) 推荐(0) 编辑

摘要: The Command Patternencapsulates a request as an object, thereby letting you parameterize other objects with different requests, queue or log requests, and support undoable operations. 阅读全文
posted @ 2013-12-03 10:17 JasonChang 阅读(79) 评论(0) 推荐(0) 编辑

2013年12月2日

摘要: The Singleton Patternensures a class has only one instance, and provide a global point of access to it. 阅读全文
posted @ 2013-12-02 16:19 JasonChang 阅读(125) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 18 下一页