随笔分类 -  设计模式

单例模式
摘要:1 public class Singleton 2 { 3 private static Singleton singleton = new Singleton();//类加载了便初始化该单例对象 4 ... 阅读全文
posted @ 2014-09-14 11:46 wf110 阅读(261) 评论(0) 推荐(0)