Skip to content

Commit baf177a

Browse files
committed
Added book reference to singleton enum implementation.
1 parent b73429c commit baf177a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

singleton/src/main/java/com/iluwatar/EnumIvoryTower.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
/**
44
*
55
* Enum Singleton class.
6+
* Effective Java 2nd Edition (Joshua Bloch) p. 18
67
*
78
*/
89
public enum EnumIvoryTower {
10+
911
INSTANCE;
1012

1113
@Override

0 commit comments

Comments
 (0)