@startuml
skinparam classAttributeIconSize 0
package "class Class Model(桥接模式)" #DDDDDD {
abstract class Abstraction
Abstraction : +operation()
note right: 抽象部分
class RefinedAbstraction
note right:优化的抽象部分
interface Implementor
Implementor : +operationImpl()
note right:实现部分
class Client
note right : 客户端
ConcreteImplementorA : +operationImpl()
note right:实现部分的具体实现
ConcreteImplementorB : +operationImpl()
note right:实现部分的具体实现
Client --> Abstraction
RefinedAbstraction --|> Abstraction
Implementor --o Abstraction
ConcreteImplementorA ..|> Implementor
ConcreteImplementorB ..|> Implementor
}
@enduml