线程安全的单例模式
摘要:
单例模式有如下实现方式: [java] view plain copy package com.zzj.pattern.singleton; public class Singleton { private static Singleton instance; private Singleton() 阅读全文
posted @ 2018-03-03 22:41 myf008 阅读(205) 评论(0) 推荐(0)
posted @ 2018-03-03 22:41 myf008 阅读(205) 评论(0) 推荐(0)
posted @ 2018-03-03 22:15 myf008 阅读(628) 评论(0) 推荐(0)
posted @ 2018-03-03 20:42 myf008 阅读(329) 评论(0) 推荐(0)
posted @ 2018-03-03 19:41 myf008 阅读(288) 评论(0) 推荐(0)
posted @ 2018-03-03 19:34 myf008 阅读(174) 评论(0) 推荐(0)
posted @ 2018-03-03 18:17 myf008 阅读(567) 评论(0) 推荐(0)
posted @ 2018-03-03 18:15 myf008 阅读(269) 评论(0) 推荐(0)
posted @ 2018-03-03 18:00 myf008 阅读(553) 评论(0) 推荐(0)