Package | Description |
---|---|
headfirst.singleton.subclass |
Modifier and Type | Class and Description |
---|---|
class |
CoolerSingleton |
class |
HotterSingleton |
Modifier and Type | Field and Description |
---|---|
protected static Singleton |
CoolerSingleton.uniqueInstance |
protected static Singleton |
Singleton.uniqueInstance |
Modifier and Type | Method and Description |
---|---|
static Singleton |
Singleton.getInstance() |