Added comments to lazily initialized singleton implementation.
This commit is contained in:
@ -3,6 +3,8 @@ package com.iluwatar;
|
||||
/**
|
||||
*
|
||||
* Thread-safe Singleton class.
|
||||
* The instance is lazily initialized and thus needs synchronization
|
||||
* mechanism.
|
||||
*
|
||||
*/
|
||||
public class ThreadSafeLazyLoadedIvoryTower {
|
||||
|
Reference in New Issue
Block a user