mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 04:15:07 +00:00
#190 Remove urm plugin
This commit is contained in:
1 parent
4450000a83
commit
b0f9582824
98 files changed
-5137
No files matched your search
@@ -1,27 +0,0 @@
|
||||
@startuml
|
||||
package com.iluwatar.mutex {
|
||||
class App {
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
class Jar {
|
||||
- beans : int
|
||||
- lock : Lock
|
||||
+ Jar(beans : int, lock : Lock)
|
||||
+ takeBean() : boolean
|
||||
}
|
||||
interface Lock {
|
||||
+ acquire() {abstract}
|
||||
+ release() {abstract}
|
||||
}
|
||||
class Mutex {
|
||||
- owner : Object
|
||||
+ Mutex()
|
||||
+ acquire()
|
||||
+ getOwner() : Object
|
||||
+ release()
|
||||
}
|
||||
}
|
||||
Jar --> "-lock" Lock
|
||||
Mutex ..|> Lock
|
||||
@enduml
|
||||
Reference in new issue
Block a user