singleton-pattern-overview-integu

Singleton Pattern

The Singleton Pattern is without a doubt the simplest, but also most powerful design patterns. It provides a one-way access to a class, which ensures that whenever this class is retrieved, that it will always be the same instance.