mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 16:15:23 +00:00
Update URM Version to 1.4.4 and regenerated all puml files
This commit is contained in:
1 parent
8574e06966
commit
7d995056ff
85 files changed
+1885
-1742
No files matched your search
@@ -1,15 +1,18 @@
|
||||
@startuml
|
||||
package com.iluwatar.delegation.simple.printers {
|
||||
class HpPrinter {
|
||||
+ HpPrinter()
|
||||
class CanonPrinter {
|
||||
- LOGGER : Logger {static}
|
||||
+ CanonPrinter()
|
||||
+ print(message : String)
|
||||
}
|
||||
class EpsonPrinter {
|
||||
- LOGGER : Logger {static}
|
||||
+ EpsonPrinter()
|
||||
+ print(message : String)
|
||||
}
|
||||
class CanonPrinter {
|
||||
+ CanonPrinter()
|
||||
class HpPrinter {
|
||||
- LOGGER : Logger {static}
|
||||
+ HpPrinter()
|
||||
+ print(message : String)
|
||||
}
|
||||
}
|
||||
@@ -19,18 +22,18 @@ package com.iluwatar.delegation.simple {
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
interface Printer {
|
||||
+ print(String) {abstract}
|
||||
}
|
||||
class PrinterController {
|
||||
- printer : Printer
|
||||
+ PrinterController(printer : Printer)
|
||||
+ print(message : String)
|
||||
}
|
||||
interface Printer {
|
||||
+ print(String) {abstract}
|
||||
}
|
||||
}
|
||||
PrinterController --> "-printer" Printer
|
||||
HpPrinter ..|> Printer
|
||||
PrinterController ..|> Printer
|
||||
EpsonPrinter ..|> Printer
|
||||
CanonPrinter ..|> Printer
|
||||
EpsonPrinter ..|> Printer
|
||||
HpPrinter ..|> Printer
|
||||
@enduml
|
||||
Reference in new issue
Block a user