设计模式之适配器模式(Adapter Pattern)

适配器模式定义 Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces. 将一个类的接口变换成客户端所期待的另一种接口,从而
相关文章
相关标签/搜索