设计模式(09) 适配器模式(简单入门 结构模式)

From Now On,Let us begin Design Patterns。 适配器模式 定义 将一个类的接口变换成客户端所期待的另一种接口,从而使原本因接口不匹配而无法在一起工作的两个类能够在一起工作。 Convert the interface of a class into another interface clients expect. Adapter lets classes w
相关文章
相关标签/搜索