Class Singleton

java.lang.Object
  extended by Singleton

public class Singleton
extends java.lang.Object


Method Summary
static Singleton getInstance()
          Returns a reference to the instance of the class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Singleton getInstance()
Returns a reference to the instance of the class. Only one instance of this class may be created.

Returns:
Reference to the instance of the class.