设计模式(11) 桥接模式(简单入门 结构模式)

From Now On,Let us begin Design Patterns。 桥接模式 定义 将抽象和实现解耦,使得两者独立地变化。 Decouple an abstraction from its implementation so that two can vary independently. 通用类图: 角色说明: Abstraction类:业务抽象类,定义一个抽象接口,维护对Imp
相关文章
相关标签/搜索