#DesignPartten

定义 Allow an object to alter its behavior when its internal state changes.The object will appear to...

定义 Represent an operation to be performed on the elements of an object structure. Visitor lets you...

定义 Without violating encapsulation,capture and externalize an object's internal state so that the ...

定义 Given a language, define a representation for its gr ammar along with an interpreter that uses t...

定义 Provide a way to access the el ements of an aggregate object sequentially without exposing its u...

定义 Decouple an abstraction from its implementation so that the two can vary independently.(将抽象和实现解...

定义 Provide a unified interface to a set of interfaces in a subsystem.Facade defines a higher-level ...

定义 Use sharing to support large numbers of fine-grained objects efficiently.(使用共享对象可有效地支持大量的细粒度的对象...

定义 Define a one-to-many dependency between objects so that when one object changes state,all its de...

定义 Compose objects into tree structures to represent part-whole hierarchies.Composite lets clients ...