Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ccl.util
Class Singleton

    java.lang.Object
      |
      +--ccl.util.Singleton

public class Singleton
extends java.lang.Object

Singleton: Ensure a class only has one instance, and provide a global point of access to it.

Constructor Summary
`protected` | `Singleton()` Users can't instantiate an object themself.

Method Summary
`static java.lang.Object` | `getInstance()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Singleton

    protected Singleton()

  Users can't instantiate an object themself. They need to use getInstance instead.

Method Detail

### getInstance

    public static java.lang.Object getInstance()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD