2016-08-30 13:29:12 +02:00
|
|
|
@startuml
|
|
|
|
package com.iluwatar.execute.around {
|
|
|
|
class SimpleFileWriter {
|
|
|
|
+ SimpleFileWriter(filename : String, action : FileWriterAction)
|
|
|
|
}
|
|
|
|
class App {
|
|
|
|
+ App()
|
|
|
|
+ main(args : String[]) {static}
|
|
|
|
}
|
2016-09-18 17:51:09 +03:00
|
|
|
interface FileWriterAction {
|
|
|
|
+ writeFile(FileWriter) {abstract}
|
|
|
|
}
|
2016-08-30 13:29:12 +02:00
|
|
|
}
|
|
|
|
@enduml
|