On Java Development

All things related to Java development, from the perspective of a caveman.

Archive for the ‘Design Patterns’ tag

Singleton Design Pattern

without comments

Probably the simplest of design patterns, the so-called Singleton ensures one single instance of a class exists. The method presented is guaranteed to execute only once ensuring there is only one instance created (and is thread-safe).
Read the rest of this entry »

Written by admin

January 6th, 2014 at 8:10 pm