mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-04 04:13:16 +00:00
Work on #190: Add first batch of automagically generated puml files
This commit is contained in:
1 parent
e73867f9a1
commit
36fe249960
86 files changed
+4700
No files matched your search
@@ -0,0 +1,25 @@
|
||||
@startuml
|
||||
package com.iluwatar.callback {
|
||||
class LambdasApp {
|
||||
+ LambdasApp()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
class SimpleTask {
|
||||
+ SimpleTask()
|
||||
+ execute()
|
||||
}
|
||||
class App {
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
abstract class Task {
|
||||
+ Task()
|
||||
+ execute() {abstract}
|
||||
+ executeWith(callback : Callback)
|
||||
}
|
||||
interface Callback {
|
||||
+ call() {abstract}
|
||||
}
|
||||
}
|
||||
SimpleTask --|> Task
|
||||
@enduml
|
||||
Reference in new issue
Block a user