The adapter mode is more common in the source code. It is to convert one data type to another type.
Design pattern: adapter pattern
Guess you like
Origin blog.csdn.net/gaolh89/article/details/104544630
Ranking