Work on #190: Add first batch of automagically generated puml files

This commit is contained in:
NooBxGockeL
2016-08-30 13:29:12 +02:00
parent e73867f9a1
commit 36fe249960
86 changed files with 4700 additions and 0 deletions

View File

@ -0,0 +1,35 @@
@startuml
package com.iluwatar.lazy.loading {
~class HeavyFactory {
- heavyInstance : Heavy
~ HeavyFactory(this$0 : Java8Holder)
+ get() : Heavy
}
class HolderNaive {
- heavy : Heavy
+ HolderNaive()
+ getHeavy() : Heavy
}
class Heavy {
+ Heavy()
}
class HolderThreadSafe {
- heavy : Heavy
+ HolderThreadSafe()
+ getHeavy() : Heavy
}
class Java8Holder {
- heavy : Supplier<Heavy>
+ Java8Holder()
- createAndCacheHeavy() : Heavy
+ getHeavy() : Heavy
}
class App {
+ App()
+ main(args : String[]) {static}
}
}
HolderThreadSafe --> "-heavy" Heavy
HolderNaive --> "-heavy" Heavy
HeavyFactory --> "-heavyInstance" Heavy
@enduml