Added comment to eagerly initialized singleton implementation.
This commit is contained in:
@@ -3,6 +3,8 @@ package com.iluwatar;
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Singleton class.
|
* Singleton class.
|
||||||
|
* Eagerly initialized static instance guarantees thread
|
||||||
|
* safety.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class IvoryTower {
|
public class IvoryTower {
|
||||||
|
Reference in New Issue
Block a user