#1113 Add uml-reverse-mapper plugin
This commit is contained in:
22
double-checked-locking/etc/double-checked-locking.urm.puml
Normal file
22
double-checked-locking/etc/double-checked-locking.urm.puml
Normal file
@ -0,0 +1,22 @@
|
||||
@startuml
|
||||
package com.iluwatar.doublechecked.locking {
|
||||
class App {
|
||||
- LOGGER : Logger {static}
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
class Inventory {
|
||||
- LOGGER : Logger {static}
|
||||
- inventorySize : int
|
||||
- items : List<Item>
|
||||
- lock : Lock
|
||||
+ Inventory(inventorySize : int)
|
||||
+ addItem(item : Item) : boolean
|
||||
+ getItems() : List<Item>
|
||||
}
|
||||
class Item {
|
||||
+ Item()
|
||||
}
|
||||
}
|
||||
Inventory --> "-items" Item
|
||||
@enduml
|
Reference in New Issue
Block a user