You are viewing a single comment's thread. Return to all comments →
What for do you need additional inner holder class? You already has laze initialisation with this:
class Singleton{ private Singleton() {} private static final Singleton INSTANCE = new Singleton(); public static Singleton getInstance() { return INSTANCE; } }
Java Singleton Pattern
You are viewing a single comment's thread. Return to all comments →
What for do you need additional inner holder class? You already has laze initialisation with this: