适配器模式,将老接口的数据给新接口用
摘要:https://blog.csdn.net/wwwdc1012/article/details/82780560 (1)类适配器 首先有一个已存在的将被适配的类 定义一个目标接口 实现 调用 (2)对象适配器
阅读全文
posted @ 2019-09-18 22:01
posted @ 2019-09-18 22:01
posted @ 2019-09-18 21:52
posted @ 2018-03-07 23:20