设计模式之——适配器模式

适配器模式也叫“Adapter”。它的作用就如现实中的适配器一样,把接口不一致的两个插件接合起来。

posted @ 2019-05-26 20:20  Vincen_shen  阅读(179)  评论(0编辑  收藏  举报