¶外观模式
¶定义
Provide a unified interface to a set of interfaces in a subsystem.Facade defines a higher-level interface that makes the subsystem easier t ...
¶装饰模式
¶定义
Attach additional responsibilities to an object dynamically keeping the same interface.Decorators provide a flexible alternative to subclas ...
¶工厂模式
¶定义
¶工厂方法定义
Define an interface for creating an object,but let subclasses decide which class to instantiate.Factory Method lets a class defer i ...