Added comments to lazily initialized singleton implementation.

This commit is contained in:
Ilkka Seppala 2014-11-26 22:45:47 +02:00
parent 0ad5fbfc5c
commit 34bc1de713

View File

@ -3,6 +3,8 @@ package com.iluwatar;
/**
*
* Thread-safe Singleton class.
* The instance is lazily initialized and thus needs synchronization
* mechanism.
*
*/
public class ThreadSafeLazyLoadedIvoryTower {