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,6 +1,7 @@
@startuml
package com.iluwatar.iterator {
class App {
- LOGGER : Logger {static}
+ App()
+ main(args : String[]) {static}
}
@ -12,21 +13,6 @@ package com.iluwatar.iterator {
+ setType(type : ItemType)
+ toString() : String
}
class TreasureChestItemIterator {
- chest : TreasureChest
- idx : int
- type : ItemType
+ TreasureChestItemIterator(chest : TreasureChest, type : ItemType)
- findNextIdx() : int
+ hasNext() : boolean
+ next() : Item
}
class TreasureChest {
- items : List<Item>
+ TreasureChest()
+ getItems() : List<Item>
~ iterator(itemType : ItemType) : ItemIterator
}
interface ItemIterator {
+ hasNext() : boolean {abstract}
+ next() : Item {abstract}
@ -39,6 +25,21 @@ package com.iluwatar.iterator {
+ valueOf(name : String) : ItemType {static}
+ values() : ItemType[] {static}
}
class TreasureChest {
- items : List<Item>
+ TreasureChest()
+ getItems() : List<Item>
~ iterator(itemType : ItemType) : ItemIterator
}
class TreasureChestItemIterator {
- chest : TreasureChest
- idx : int
- type : ItemType
+ TreasureChestItemIterator(chest : TreasureChest, type : ItemType)
- findNextIdx() : int
+ hasNext() : boolean
+ next() : Item
}
}
Item --> "-type" ItemType
TreasureChest --> "-items" Item