适配器模式


适配器模式_第1张图片
Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces

你可能感兴趣的:(适配器模式)