- 博客(4)
- 资源 (2)
- 收藏
- 关注
翻译 Proxy Pattern
Definition-Provide a surrogate or placeholder for another object to control access to it. Proxy maintains a reference that lets the proxy access the real subject. Proxy may
2007-12-02 17:50:00 1576
原创 State Pattern
Definition-Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.//UML Class DiagramWhen to use?• Suppose an object is always in o
2007-12-02 15:23:00 1221
原创 Iterator and Composite Pattern
IteratorDefinition-Provide a way to access the elements of an aggregate object equentially without exposing its underlying representation.Composite PatternDefinition-Compose objects into tre
2007-12-02 11:14:00 2319
原创 Template Method Pattern
Template Method PatternDefinition-Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm with
2007-12-02 00:48:00 868
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人