MCPcopy Create free account
hub / github.com/amikey/java-design-patterns / App

Class App

singleton/src/main/java/com/iluwatar/singleton/App.java:17–51  ·  view source on GitHub ↗

Singleton pattern ensures that the class (IvoryTower) can have only one existing instance per java classloader instance and provides global access to it. http://stackoverflow.com/questions/70689/what-is-an-efficient-way-to-implement-a-singleton-pattern-in-java The risk of this pattern is that bugs

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected