move the SO question URL
This commit is contained in:
parent
16ac983053
commit
11a89f85a8
@ -5,6 +5,8 @@ package com.iluwatar;
|
|||||||
* Singleton pattern ensures that the class (IvoryTower) can have only one
|
* Singleton pattern ensures that the class (IvoryTower) can have only one
|
||||||
* existing instance and provides global access to that instance.
|
* existing instance and provides global access to that instance.
|
||||||
*
|
*
|
||||||
|
* http://stackoverflow.com/questions/70689/what-is-an-efficient-way-to-implement-a-singleton-pattern-in-java
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public class App {
|
public class App {
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@ package com.iluwatar;
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Enum Singleton class.
|
* Enum Singleton class.
|
||||||
* http://stackoverflow.com/questions/70689/what-is-an-efficient-way-to-implement-a-singleton-pattern-in-java
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public enum EnumIvoryTower {
|
public enum EnumIvoryTower {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user