#190 Regenerate puml files

This commit is contained in:
Ilkka Seppälä 2017-02-11 21:46:56 +02:00
parent 9ec0935a1c
commit a1ff55b462
24 changed files with 195 additions and 48 deletions

View File

@ -86,15 +86,15 @@ package com.iluwatar.builder {
+ values() : Weapon[] {static} + values() : Weapon[] {static}
} }
} }
Hero --> "-profession" Profession
Builder ..+ Hero Builder ..+ Hero
Hero --> "-profession" Profession
Hero --> "-armor" Armor Hero --> "-armor" Armor
Builder --> "-hairColor" HairColor
Builder --> "-weapon" Weapon Builder --> "-weapon" Weapon
Builder --> "-hairType" HairType Builder --> "-hairType" HairType
Builder --> "-hairColor" HairColor
Hero --> "-hairColor" HairColor Hero --> "-hairColor" HairColor
Builder --> "-profession" Profession Builder --> "-profession" Profession
Hero --> "-weapon" Weapon
Hero --> "-hairType" HairType Hero --> "-hairType" HairType
Hero --> "-weapon" Weapon
Builder --> "-armor" Armor Builder --> "-armor" Armor
@enduml @enduml

View File

@ -46,8 +46,8 @@ package com.iluwatar.business.delegate {
+ values() : ServiceType[] {static} + values() : ServiceType[] {static}
} }
} }
BusinessDelegate --> "-serviceType" ServiceType
BusinessLookup --> "-ejbService" EjbService BusinessLookup --> "-ejbService" EjbService
BusinessDelegate --> "-serviceType" ServiceType
Client --> "-businessDelegate" BusinessDelegate Client --> "-businessDelegate" BusinessDelegate
BusinessDelegate --> "-businessService" BusinessService BusinessDelegate --> "-businessService" BusinessService
BusinessDelegate --> "-lookupService" BusinessLookup BusinessDelegate --> "-lookupService" BusinessLookup

View File

@ -53,8 +53,8 @@ package com.iluwatar.chain {
} }
} }
RequestHandler --> "-next" RequestHandler RequestHandler --> "-next" RequestHandler
OrcKing --> "-chain" RequestHandler
Request --> "-requestType" RequestType Request --> "-requestType" RequestType
OrcKing --> "-chain" RequestHandler
OrcCommander --|> RequestHandler OrcCommander --|> RequestHandler
OrcOfficer --|> RequestHandler OrcOfficer --|> RequestHandler
OrcSoldier --|> RequestHandler OrcSoldier --|> RequestHandler

View File

@ -34,9 +34,10 @@ package com.iluwatar.dao {
+ getById(int) : Optional<Customer> {abstract} + getById(int) : Optional<Customer> {abstract}
+ update(Customer) : boolean {abstract} + update(Customer) : boolean {abstract}
} }
interface CustomerSchemaSql { class CustomerSchemaSql {
+ CREATE_SCHEMA_SQL : String {static} + CREATE_SCHEMA_SQL : String {static}
+ DELETE_SCHEMA_SQL : String {static} + DELETE_SCHEMA_SQL : String {static}
- CustomerSchemaSql()
} }
class DbCustomerDao { class DbCustomerDao {
- dataSource : DataSource - dataSource : DataSource

View File

@ -54,8 +54,8 @@ package com.iluwatar.eda {
+ main(args : String[]) {static} + main(args : String[]) {static}
} }
} }
UserCreatedEvent --> "-user" User
UserUpdatedEvent --> "-user" User UserUpdatedEvent --> "-user" User
UserCreatedEvent --> "-user" User
AbstractEvent ..|> Event AbstractEvent ..|> Event
UserCreatedEvent --|> AbstractEvent UserCreatedEvent --|> AbstractEvent
UserUpdatedEvent --|> AbstractEvent UserUpdatedEvent --|> AbstractEvent

View File

@ -99,15 +99,15 @@ package com.iluwatar.flux.dispatcher {
} }
} }
MenuAction --> "-menuItem" MenuItem MenuAction --> "-menuItem" MenuItem
MenuStore --> "-selected" MenuItem
Action --> "-type" ActionType Action --> "-type" ActionType
Dispatcher --> "-instance" Dispatcher Dispatcher --> "-instance" Dispatcher
MenuStore --> "-selected" MenuItem
ContentView --> "-content" Content ContentView --> "-content" Content
Dispatcher --> "-stores" Store Dispatcher --> "-stores" Store
MenuView --> "-selected" MenuItem MenuView --> "-selected" MenuItem
Store --> "-views" View Store --> "-views" View
ContentStore --> "-content" Content
ContentAction --> "-content" Content ContentAction --> "-content" Content
ContentStore --> "-content" Content
ContentAction --|> Action ContentAction --|> Action
MenuAction --|> Action MenuAction --|> Action
ContentStore --|> Store ContentStore --|> Store

View File

@ -11,9 +11,13 @@ package com.iluwatar.hexagonal.service {
class ConsoleLottery { class ConsoleLottery {
- LOGGER : Logger {static} - LOGGER : Logger {static}
+ ConsoleLottery() + ConsoleLottery()
- addFundsToLotteryAccount(bank : WireTransfers, scanner : Scanner) {static}
- checkTicket(service : LotteryService, scanner : Scanner) {static}
+ main(args : String[]) {static} + main(args : String[]) {static}
- printMainMenu() {static} - printMainMenu() {static}
- queryLotteryAccountFunds(bank : WireTransfers, scanner : Scanner) {static}
- readString(scanner : Scanner) : String {static} - readString(scanner : Scanner) : String {static}
- submitTicket(service : LotteryService, scanner : Scanner) {static}
} }
} }
package com.iluwatar.hexagonal.mongo { package com.iluwatar.hexagonal.mongo {
@ -252,16 +256,16 @@ package com.iluwatar.hexagonal.eventlog {
+ ticketWon(details : PlayerDetails, prizeAmount : int) + ticketWon(details : PlayerDetails, prizeAmount : int)
} }
} }
LotteryAdministration --> "-wireTransfers" WireTransfers
LotteryTicket --> "-id" LotteryTicketId
LotteryTicket --> "-playerDetails" PlayerDetails LotteryTicket --> "-playerDetails" PlayerDetails
LotteryService --> "-notifications" LotteryEventLog
LotteryAdministration --> "-repository" LotteryTicketRepository
LotteryTicket --> "-lotteryNumbers" LotteryNumbers
MongoEventLog --> "-stdOutEventLog" StdOutEventLog MongoEventLog --> "-stdOutEventLog" StdOutEventLog
LotteryService --> "-wireTransfers" WireTransfers LotteryService --> "-wireTransfers" WireTransfers
SampleData --> "-PLAYERS" PlayerDetails
LotteryAdministration --> "-notifications" LotteryEventLog LotteryAdministration --> "-notifications" LotteryEventLog
LotteryAdministration --> "-wireTransfers" WireTransfers
LotteryService --> "-notifications" LotteryEventLog
LotteryTicket --> "-id" LotteryTicketId
LotteryAdministration --> "-repository" LotteryTicketRepository
LotteryTicket --> "-lotteryNumbers" LotteryNumbers
SampleData --> "-PLAYERS" PlayerDetails
RandomNumberGenerator ..+ LotteryNumbers RandomNumberGenerator ..+ LotteryNumbers
LotteryService --> "-repository" LotteryTicketRepository LotteryService --> "-repository" LotteryTicketRepository
CheckResult ..+ LotteryTicketCheckResult CheckResult ..+ LotteryTicketCheckResult

View File

@ -1 +1,25 @@
<!--
The MIT License
Copyright (c) 2014 Ilkka Seppälä
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.90 Safari/537.36" version="6.0.1.3" editor="www.draw.io" type="device"><diagram name="Page-1">7Zpdk6I4FIZ/jbdbJAHEyx7nY/diqrqqd2tnLiOJSDUSK6ZHe3/9BkmUfFiDDqBM2TcNBwLxOe85nBOYoPl6/4XjzeorI7SYwIDsJ+jjBEKA4kj+qyzvtWUag9qQ8Zyok06Gl/w/qoyBsr7lhG6NEwVjhcg3pjFlZUlTYdgw52xnnrZkhXnXDc6oY3hJceFa/82JWNXWJApO9j9pnq30nUGgjixw+ppx9laq+00gWh7+6sNrrK+lzt+uMGG7hgl9mqA5Z0zUW+v9nBYVW42tHvf5zNHjvDktRZsBqB7wAxdvVM/4MC/xrlnIKW6qzRXd44yVE/RhQ3m+poLyk/X5ZPqwW+WCvmxwWo3aSYFI20qsC7kH5Ka6I+WC7s/OGhxZSI1RJi/N3+UpagBMFD4lL6D3dydnIa2lVcNRMFZG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hkntkj91yWe7S7O/U/OO/9/nzfWC5/+L6d70dfldsrOSEcbiXHs4R9ZeTUGdEXO41E2mX0TD3Rc1+Vue2gq6Mn6S963BX4Z8bF1hGBlLcwPW/GhFJGM4CUCRd5VsrdVDrz8FaoCpY8xcWTOrDOCSnOBWcH8YVmoYHzGDgNWYS+12pdxJe7SP/PVlKQZ1Q0ltVvtVEfXrRSojD3/w4NALvudd9hAN97x7ALQO6ywN90WwUDzqiS903h2CvFiZucZ32xcdvmv6RqMi6zFCtvjuZY4et851lN6g2N221+xAIv8Pb28RQHJhcwG04yOrU1uHxl6au0kLvBYz3dYOTi6S3doPF2irpKNAqe2I96mIIHWJ6Mr20XgF059dcuoD5axWEEoOsRQwDThwAuFECbfvE+Ox5dlxkCSB4CuFAAXbW8vpcRvldRHT4CfAK46WrhKAXQ5quzOxUAdAWAbrpkOEoBuE35E8Eb2Y//XuseVh+CPP1ZR+secvf0dXftkdMn9OjT/w==</diagram></mxfile>

View File

@ -1,3 +1,27 @@
<!--
The MIT License
Copyright (c) 2014 Ilkka Seppälä
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>

View File

@ -77,8 +77,8 @@ package com.iluwatar.intercepting.filter {
} }
AbstractFilter --> "-next" Filter AbstractFilter --> "-next" Filter
DListener --+ Target DListener --+ Target
FilterManager --> "-filterChain" FilterChain
FilterChain --> "-chain" Filter FilterChain --> "-chain" Filter
FilterManager --> "-filterChain" FilterChain
AbstractFilter ..|> Filter AbstractFilter ..|> Filter
AddressFilter --|> AbstractFilter AddressFilter --|> AbstractFilter
ContactFilter --|> AbstractFilter ContactFilter --|> AbstractFilter

View File

@ -34,7 +34,7 @@ package com.iluwatar.lazy.loading {
+ get() : Heavy + get() : Heavy
} }
} }
HolderNaive --> "-heavy" Heavy
HolderThreadSafe --> "-heavy" Heavy HolderThreadSafe --> "-heavy" Heavy
HolderNaive --> "-heavy" Heavy
HeavyFactory --> "-heavyInstance" Heavy HeavyFactory --> "-heavyInstance" Heavy
@enduml @enduml

View File

@ -0,0 +1,23 @@
====
The MIT License
Copyright (c) 2014 Ilkka Seppälä
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
====

View File

@ -16,7 +16,7 @@ package com.iluwatar.module {
- singleton : ConsoleLoggerModule {static} - singleton : ConsoleLoggerModule {static}
- ConsoleLoggerModule() - ConsoleLoggerModule()
+ getSingleton() : ConsoleLoggerModule {static} + getSingleton() : ConsoleLoggerModule {static}
+ prepare() + prepare() : ConsoleLoggerModule
+ printErrorString(value : String) + printErrorString(value : String)
+ printString(value : String) + printString(value : String)
+ unprepare() + unprepare()
@ -30,7 +30,7 @@ package com.iluwatar.module {
- singleton : FileLoggerModule {static} - singleton : FileLoggerModule {static}
- FileLoggerModule() - FileLoggerModule()
+ getSingleton() : FileLoggerModule {static} + getSingleton() : FileLoggerModule {static}
+ prepare() + prepare() : FileLoggerModule
+ printErrorString(value : String) + printErrorString(value : String)
+ printString(value : String) + printString(value : String)
+ unprepare() + unprepare()

View File

@ -0,0 +1,23 @@
====
The MIT License
Copyright (c) 2014 Ilkka Seppälä
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
====

View File

@ -1,13 +1,15 @@
@startuml @startuml
package com.iluwatar.objectmother { package com.iluwatar.objectmother {
class RoyaltyObjectMother { class King {
+ RoyaltyObjectMother() ~ isDrunk : boolean
+ createDrunkKing() : King {static} ~ isHappy : boolean
+ createFlirtyQueen() : Queen {static} + King()
+ createHappyDrunkKing() : King {static} + flirt(queen : Queen)
+ createHappyKing() : King {static} + isHappy() : boolean
+ createNotFlirtyQueen() : Queen {static} + makeDrunk()
+ createSoberUnhappyKing() : King {static} + makeHappy()
+ makeSober()
+ makeUnhappy()
} }
class Queen { class Queen {
- isDrunk : boolean - isDrunk : boolean
@ -28,18 +30,16 @@ package com.iluwatar.objectmother {
+ makeSober() {abstract} + makeSober() {abstract}
+ makeUnhappy() {abstract} + makeUnhappy() {abstract}
} }
class King { class RoyaltyObjectMother {
~ isDrunk : boolean + RoyaltyObjectMother()
~ isHappy : boolean + createDrunkKing() : King {static}
+ King() + createFlirtyQueen() : Queen {static}
+ flirt(queen : Queen) + createHappyDrunkKing() : King {static}
+ isHappy() : boolean + createHappyKing() : King {static}
+ makeDrunk() + createNotFlirtyQueen() : Queen {static}
+ makeHappy() + createSoberUnhappyKing() : King {static}
+ makeSober()
+ makeUnhappy()
} }
} }
Queen ..|> Royalty
King ..|> Royalty King ..|> Royalty
Queen ..|> Royalty
@enduml @enduml

View File

@ -6,8 +6,8 @@ package com.iluwatar.object.pool {
+ main(args : String[]) {static} + main(args : String[]) {static}
} }
abstract class ObjectPool<T> { abstract class ObjectPool<T> {
- available : HashSet<T> - available : Set<T>
- inUse : HashSet<T> - inUse : Set<T>
+ ObjectPool<T>() + ObjectPool<T>()
+ checkIn(instance : T) + checkIn(instance : T)
+ checkOut() : T + checkOut() : T

View File

@ -60,8 +60,8 @@ package com.iluwatar.poison.pill {
} }
} }
SimpleMessageQueue --> "-queue" Message SimpleMessageQueue --> "-queue" Message
Headers ..+ Message
Consumer --> "-queue" MqSubscribePoint Consumer --> "-queue" MqSubscribePoint
Headers ..+ Message
Producer --> "-queue" MqPublishPoint Producer --> "-queue" MqPublishPoint
Message --> "-POISON_PILL" Message Message --> "-POISON_PILL" Message
MessageQueue --|> MqPublishPoint MessageQueue --|> MqPublishPoint

View File

@ -72,7 +72,7 @@ package com.iluwatar.promise {
} }
TransformAction --> "-src" Promise TransformAction --> "-src" Promise
TransformAction --+ Promise TransformAction --+ Promise
ConsumeAction --> "-src" Promise
ConsumeAction --+ Promise ConsumeAction --+ Promise
ConsumeAction --> "-src" Promise
Promise --|> PromiseSupport Promise --|> PromiseSupport
@enduml @enduml

View File

@ -1,3 +1,27 @@
<!--
The MIT License
Copyright (c) 2014 Ilkka Seppälä
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>

View File

@ -1 +1,25 @@
<!--
The MIT License
Copyright (c) 2014 Ilkka Seppälä
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" version="6.0.2.5" editor="www.draw.io" type="device"><diagram name="Page-1">7Vhtb5swEP41kbYPnQJuaPexeVv3YVK1aur60YEL8WowM05K+utnYxswkC6p2rSbmkoNfnx3vpfnLsAATZLiC8fZ6huLgA78YVQM0HTg+x4KPPmlkK1GziwQcxIZoRq4Jg9gwKFB1ySC3BEUjFFBMhcMWZpCKBwMc87uXbElo+6pGY6hA1yHmHbRGxKJlUbPR8MavwQSr+zJ3tDsLHB4F3O2Ts15Ax8ty4/eTrC1ZeTzFY7YfQNCswGacMaEvkqKCVCVW5s2rTffsVv5zSEV+yica4UNpmuwHgdUqo4z5Z3YmowEv9fKpXGCeUzSAbqQu8OskP8lWAam8BPBMr132tgTUIgTTEls9ELpG/DapryKzXd5MmkAOJEGx7S7+qpsLHEIFeyqOBZl/KR9yoJ3EAtcrxe/FKtq7UVbVmJZG1txlTLLZRudtzvQJ6WYwlI0crzLdje8PpdfxgMlW9b4ww15wDz6qKU3TLJuT/d8xzF/A1wQ2Z4XmkXTkmdjw6mpdmjMpNSSlt20JJLlaLxkqTDDxfPNeo4TQtVYugS6AWVVlU4kVAkpGak6YZTx8mTbvWicC87uoLEzLD+KahxHRMbb2Juezrz5qIpEuQ/Fzhb1qsaXAxVYAoJvpYhR8M/NrDCz1A6h+3owVeNk5Q4lMxDNMIwr0/VAkBdmJvTPB+vumxoQVTd+B0yP1awR2fQGbFOuHPcf68g8w+lBPSLddnUquPTl9VvlhYmPfJf4fcz3TnuYHzwH8f23TPwrzortO+X/O8oHnkv5s9ERGY/eIuN336VNqCrE/k3wj99SzAL19zw0G70iy7pPHLNCQBrlnQpJ8EI9y8nVgrLwTsYuIZv8QC/nZVmmQzfjMg98+1Phn0Z2eWv3CiIaW3J1awxoDyDqPBu28iq9ZGsegnuLJCTtQTQeq7rpbybYJpMDxYJs3CP7MmzMXTGiWL+jlAi1aqQ9NUrNB8GWHd/7iyEdXsdQWe8qxP0o8PmoFPCaBKiL/tOoVAQodw5v1SeSxn8nzUGkQd37sR85PEYYlkHq8kXN6wjnK4gMLZp0MZTwOpSoZ0mXSE8sPnov/mHF77s12V35lKVQ9izmomd8NOZFKWLWbULs8RPSJcvz/YToEI/CiKD1hqF643AsSsgi4W1DLFMC+eEO1wzTFvfkm1zWb1y1eP1aG83+AA==</diagram></mxfile> <mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" version="6.0.2.5" editor="www.draw.io" type="device"><diagram name="Page-1">7Vhtb5swEP41kbYPnQJuaPexeVv3YVK1aur60YEL8WowM05K+utnYxswkC6p2rSbmkoNfnx3vpfnLsAATZLiC8fZ6huLgA78YVQM0HTg+x4KPPmlkK1GziwQcxIZoRq4Jg9gwKFB1ySC3BEUjFFBMhcMWZpCKBwMc87uXbElo+6pGY6hA1yHmHbRGxKJlUbPR8MavwQSr+zJ3tDsLHB4F3O2Ts15Ax8ty4/eTrC1ZeTzFY7YfQNCswGacMaEvkqKCVCVW5s2rTffsVv5zSEV+yica4UNpmuwHgdUqo4z5Z3YmowEv9fKpXGCeUzSAbqQu8OskP8lWAam8BPBMr132tgTUIgTTEls9ELpG/DapryKzXd5MmkAOJEGx7S7+qpsLHEIFeyqOBZl/KR9yoJ3EAtcrxe/FKtq7UVbVmJZG1txlTLLZRudtzvQJ6WYwlI0crzLdje8PpdfxgMlW9b4ww15wDz6qKU3TLJuT/d8xzF/A1wQ2Z4XmkXTkmdjw6mpdmjMpNSSlt20JJLlaLxkqTDDxfPNeo4TQtVYugS6AWVVlU4kVAkpGak6YZTx8mTbvWicC87uoLEzLD+KahxHRMbb2Juezrz5qIpEuQ/Fzhb1qsaXAxVYAoJvpYhR8M/NrDCz1A6h+3owVeNk5Q4lMxDNMIwr0/VAkBdmJvTPB+vumxoQVTd+B0yP1awR2fQGbFOuHPcf68g8w+lBPSLddnUquPTl9VvlhYmPfJf4fcz3TnuYHzwH8f23TPwrzortO+X/O8oHnkv5s9ERGY/eIuN336VNqCrE/k3wj99SzAL19zw0G70iy7pPHLNCQBrlnQpJ8EI9y8nVgrLwTsYuIZv8QC/nZVmmQzfjMg98+1Phn0Z2eWv3CiIaW3J1awxoDyDqPBu28iq9ZGsegnuLJCTtQTQeq7rpbybYJpMDxYJs3CP7MmzMXTGiWL+jlAi1aqQ9NUrNB8GWHd/7iyEdXsdQWe8qxP0o8PmoFPCaBKiL/tOoVAQodw5v1SeSxn8nzUGkQd37sR85PEYYlkHq8kXN6wjnK4gMLZp0MZTwOpSoZ0mXSE8sPnov/mHF77s12V35lKVQ9izmomd8NOZFKWLWbULs8RPSJcvz/YToEI/CiKD1hqF643AsSsgi4W1DLFMC+eEO1wzTFvfkm1zWb1y1eP1aG83+AA==</diagram></mxfile>

View File

@ -56,6 +56,6 @@ package com.iluwatar.reader.writer.lock {
} }
ReaderWriterLock --> "-readerLock" ReadLock ReaderWriterLock --> "-readerLock" ReadLock
ReadLock --+ ReaderWriterLock ReadLock --+ ReaderWriterLock
ReaderWriterLock --> "-writerLock" WriteLock
WriteLock --+ ReaderWriterLock WriteLock --+ ReaderWriterLock
ReaderWriterLock --> "-writerLock" WriteLock
@enduml @enduml

View File

@ -18,7 +18,7 @@ package com.iluwatar.semaphore {
+ values() : FruitType[] {static} + values() : FruitType[] {static}
} }
class FruitBowl { class FruitBowl {
- fruit : ArrayList<Fruit> - fruit : List<Fruit>
+ FruitBowl() + FruitBowl()
+ countFruit() : int + countFruit() : int
+ put(f : Fruit) + put(f : Fruit)
@ -48,8 +48,8 @@ package com.iluwatar.semaphore {
+ release() + release()
} }
} }
Fruit --> "-type" FruitType
FruitType ..+ Fruit FruitType ..+ Fruit
Fruit --> "-type" FruitType
FruitShop --> "-semaphore" Semaphore FruitShop --> "-semaphore" Semaphore
FruitBowl --> "-fruit" Fruit FruitBowl --> "-fruit" Fruit
Semaphore ..|> Lock Semaphore ..|> Lock

View File

@ -31,8 +31,8 @@ package com.iluwatar.state {
+ onEnterState() {abstract} + onEnterState() {abstract}
} }
} }
AngryState --> "-mammoth" Mammoth
PeacefulState --> "-mammoth" Mammoth PeacefulState --> "-mammoth" Mammoth
AngryState --> "-mammoth" Mammoth
Mammoth --> "-state" State Mammoth --> "-state" State
AngryState ..|> State AngryState ..|> State
PeacefulState ..|> State PeacefulState ..|> State

View File

@ -76,10 +76,10 @@ package com.iluwatar.stepbuilder {
} }
} }
WeaponStep ..+ CharacterStepBuilder WeaponStep ..+ CharacterStepBuilder
SpellStep ..+ CharacterStepBuilder
CharacterSteps ..+ CharacterStepBuilder CharacterSteps ..+ CharacterStepBuilder
ClassStep ..+ CharacterStepBuilder
AbilityStep ..+ CharacterStepBuilder AbilityStep ..+ CharacterStepBuilder
SpellStep ..+ CharacterStepBuilder
ClassStep ..+ CharacterStepBuilder
NameStep ..+ CharacterStepBuilder NameStep ..+ CharacterStepBuilder
BuildStep ..+ CharacterStepBuilder BuildStep ..+ CharacterStepBuilder
CharacterSteps ..|> NameStep CharacterSteps ..|> NameStep