
java单例模式的七种写法
原文地址:http://cantellow.iteye.com/blog/838473 第一种(懒汉,线程不安全): public class Singleton { private static Singleton instance; p...
原文地址:http://cantellow.iteye.com/blog/838473 第一种(懒汉,线程不安全): public class Singleton { private static Singleton instance; p...