Added comment to eagerly initialized singleton implementation.

This commit is contained in:
Ilkka Seppala 2014-11-26 22:43:08 +02:00
parent baf177a81e
commit 0ad5fbfc5c

View File

@ -3,6 +3,8 @@ package com.iluwatar;
/** /**
* *
* Singleton class. * Singleton class.
* Eagerly initialized static instance guarantees thread
* safety.
* *
*/ */
public class IvoryTower { public class IvoryTower {