摘要: class Singleton{ private static Singleton instance;//内部实例化对象 public static Singleton getInstance(){ if(instance == null){ instance = new Singleton(); } ... 阅读全文
posted @ 2017-12-04 22:02 沃泽法克 阅读(288) 评论(0) 推荐(0) 编辑