并发环境下Double-check模型的改进

扩展阅读 http://www.51myit.com/thread-45338-1-1.html public class Singleton { private static Singleton instance = null; public static Singleton getInstance() { if (instance == null) { synchronized (Single
相关文章
相关标签/搜索