adapter

  • 适配器模式

    Convert the interface of a class into another interface clients expect.Adapter lets classes work togther that couldn’t otherwise because of incompatible interfaces.(将一个类的接口变成客户端所期待的另一种接口,从而使原本因接口不匹配而无法在一起工作的两个类能够在一起工作。)

本文总阅读量 次 本站总访问量 次 本站总访客数