mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-18 02:59:19 +00:00
Work on #190: Add first batch of automagically generated puml files
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
@startuml
|
||||
package com.iluwatar.doublechecked.locking {
|
||||
class App {
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
class Inventory {
|
||||
- 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