Update URM Version to 1.4.4 and regenerated all puml files

This commit is contained in:
NooBxGockeL
2016-11-26 12:51:06 +01:00
parent 8574e06966
commit 7d995056ff
85 changed files with 1885 additions and 1742 deletions

View File

@ -1,23 +1,29 @@
@startuml
package com.iluwatar.semaphore {
class App {
+ App()
+ main(args : String[]) {static}
}
class Fruit {
- type : FruitType
+ Fruit(type : FruitType)
+ getType() : FruitType
+ toString() : String
}
class App {
+ App()
+ main(args : String[]) {static}
enum FruitType {
+ APPLE {static}
+ LEMON {static}
+ ORANGE {static}
+ valueOf(name : String) : FruitType {static}
+ values() : FruitType[] {static}
}
class Semaphore {
- counter : int
- licenses : int
+ Semaphore(licenses : int)
+ acquire()
+ getAvailableLicenses() : int
+ getNumLicenses() : int
+ release()
class FruitBowl {
- fruit : ArrayList<Fruit>
+ FruitBowl()
+ countFruit() : int
+ put(f : Fruit)
+ take() : Fruit
+ toString() : String
}
class FruitShop {
- available : boolean[]
@ -32,27 +38,19 @@ package com.iluwatar.semaphore {
+ acquire() {abstract}
+ release() {abstract}
}
class FruitBowl {
- fruit : ArrayList<Fruit>
+ FruitBowl()
+ countFruit() : int
+ put(f : Fruit)
+ take() : Fruit
+ toString() : String
}
enum FruitType {
+ APPLE {static}
+ LEMON {static}
+ ORANGE {static}
+ valueOf(name : String) : FruitType {static}
+ values() : FruitType[] {static}
class Semaphore {
- counter : int
- licenses : int
+ Semaphore(licenses : int)
+ acquire()
+ getAvailableLicenses() : int
+ getNumLicenses() : int
+ release()
}
}
FruitShop --+ Fruit
Fruit --> "-type" FruitType
FruitType ..+ Fruit
FruitBowl --+ Fruit
FruitBowl --> "-fruit" Fruit
FruitShop --> "-semaphore" Semaphore
FruitBowl --> "-fruit" Fruit
Semaphore ..|> Lock
@enduml