mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 20:14:59 +00:00
#190 Remove urm plugin
This commit is contained in:
1 parent
4450000a83
commit
b0f9582824
98 files changed
-5137
No files matched your search
@@ -1,40 +0,0 @@
|
||||
@startuml
|
||||
package com.iluwatar.lazy.loading {
|
||||
class App {
|
||||
- LOGGER : Logger {static}
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
class Heavy {
|
||||
- LOGGER : Logger {static}
|
||||
+ Heavy()
|
||||
}
|
||||
class HolderNaive {
|
||||
- LOGGER : Logger {static}
|
||||
- heavy : Heavy
|
||||
+ HolderNaive()
|
||||
+ getHeavy() : Heavy
|
||||
}
|
||||
class HolderThreadSafe {
|
||||
- LOGGER : Logger {static}
|
||||
- heavy : Heavy
|
||||
+ HolderThreadSafe()
|
||||
+ getHeavy() : Heavy
|
||||
}
|
||||
class Java8Holder {
|
||||
- LOGGER : Logger {static}
|
||||
- heavy : Supplier<Heavy>
|
||||
+ Java8Holder()
|
||||
- createAndCacheHeavy() : Heavy
|
||||
+ getHeavy() : Heavy
|
||||
}
|
||||
~class HeavyFactory {
|
||||
- heavyInstance : Heavy
|
||||
~ HeavyFactory()
|
||||
+ get() : Heavy
|
||||
}
|
||||
}
|
||||
HolderThreadSafe --> "-heavy" Heavy
|
||||
HolderNaive --> "-heavy" Heavy
|
||||
HeavyFactory --> "-heavyInstance" Heavy
|
||||
@enduml
|
||||
Reference in new issue
Block a user