# Functions
No description provided by the author
No description provided by the author
No description provided by the author
NewAModuleAPI return new AModuleAPI.
No description provided by the author
NewBModuleAPI return new BModuleAPI.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
适配器模式用于转换一种接口适配另一种接口。
*/.
ConcreteComponent 原始组件.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
AModuleAPI ...
API is facade interface of facade package.
BModuleAPI ...
还有另外一种理解方式:“一个类存在两个(或多个)独立变化的维度,我们通过组合的方式,让这两个(或多个)维度可以独立进行扩展。
”通过组合关系来替代继承关系,避免继承层次的指数级爆炸
*/.
Component
装饰模式使用对象组合的方式动态改变或增加对象行为。
*/.
No description provided by the author
No description provided by the author
No description provided by the author