IT虾米网

摘要: 第一种(懒汉,线程不安全):Java代码public class Singleton { private static Singleton instance; private Singleton (){} public static Singleton getInstance() ... 阅读全文
posted @ 2014-06-18 09:37 落叶的博客 阅读(250) 评论(0) 推荐(0) 编辑