Update EnumIvoryTower.java
This commit is contained in:
parent
8960ef6111
commit
dddfb52c70
@ -24,6 +24,9 @@ package com.iluwatar.singleton;
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user