mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-16 14:23:05 +00:00
Work on #190: Add first batch of automagically generated puml files
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@startuml
|
||||
package com.iluwatar.mute {
|
||||
interface Resource {
|
||||
}
|
||||
class App {
|
||||
+ App()
|
||||
- acquireResource() : Resource {static}
|
||||
- closeResource(resource : Resource) {static}
|
||||
+ main(args : String[]) {static}
|
||||
- useOfLoggedMute() {static}
|
||||
- useOfMute() {static}
|
||||
- utilizeResource(resource : Resource) {static}
|
||||
}
|
||||
class Mute {
|
||||
- Mute()
|
||||
+ loggedMute(runnable : CheckedRunnable) {static}
|
||||
+ mute(runnable : CheckedRunnable) {static}
|
||||
}
|
||||
interface CheckedRunnable {
|
||||
+ run() {abstract}
|
||||
}
|
||||
}
|
||||
@enduml
|
||||
Reference in New Issue
Block a user