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