mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 20:17:21 +00:00
Update EnumIvoryTower.java
This commit is contained in:
1 parent
8960ef6111
commit
dddfb52c70
1 file changed
+3
@@ -24,6 +24,9 @@ package com.iluwatar.singleton;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Enum based singleton implementation. Effective Java 2nd Edition (Joshua Bloch) p. 18
|
* Enum based singleton implementation. Effective Java 2nd Edition (Joshua Bloch) p. 18
|
||||||
|
*
|
||||||
|
* This implementation is thread safe, however adding any other method and its thread safety
|
||||||
|
* is developers responsibility.
|
||||||
*/
|
*/
|
||||||
public enum EnumIvoryTower {
|
public enum EnumIvoryTower {
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user