Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SingletonInstance implements Serializable {
- public final Long serialVersionUID=-1L;
- private final static SingletonInstance INSTANCE = new SingletonInstance();
- private SingletonInstance(){
- }
- public static SingletonInstance getInstance(){
- return INSTANCE;
- }
- }
Add Comment
Please, Sign In to add comment