Scala, Scala Programming, Programming, Design Patterns, Singleton Design Pattern.
This introduces a global state in the Scala application and it ensures that all clients which access the type will access the same object from a well known access point. The singleton object due to this is usually used for utility classes. An example of a singleton object would be a class that