Design pattern: adapter pattern

The adapter mode is more common in the source code. It is to convert one data type to another type.

Guess you like

Origin blog.csdn.net/gaolh89/article/details/104544630