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

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

原文地址:https://www.cnblogs.com/vincenshen/p/10927353.html