Adapter pattern 适配器模式

_pattern_in_LePUS34414.png)

_pattern_in_LePUS34414.png)
In software engineering, the adapter pattern is a software design pattern that allows the interface of an existing class to be used as another interface. It is often used to make existing classes work with others without modifying their source code.