Proxy

public class Singleton
{
    
    private final static Singleton INSTANCE = new Singleton();
    
    private Singleton()
    {
    }
    
    public static Singleton getInstance()
    {
        return INSTANCE;
    }
}

 

posted @ 2018-10-21 10:38  StoneSoftware  阅读(59)  评论(0)    收藏  举报