Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 361 Bytes

README.md

File metadata and controls

28 lines (26 loc) · 361 Bytes

Bridge

classDiagram
class Printer {
  <<Interface>>
  PrintPdf(name)*
}
Printer <|.. Epson
Printer <|.. Hp

class Computer {
  <<Interface>>
  Print()*
  SetPrinter(Printer)*
}
Computer -- Printer
class Windows {
 - printer Printer
}
class Mac {
 - printer Printer
}
Computer <|.. Windows
Computer <|.. Mac
Printer --o Windows
Printer --o Mac
Loading