线程安全的单例模式
摘要:
单例模式有如下实现方式: [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 阅读(203) 评论(0) 推荐(0)
posted @ 2018-03-03 22:41 myf008 阅读(203) 评论(0) 推荐(0)
posted @ 2018-03-03 22:15 myf008 阅读(623) 评论(0) 推荐(0)
posted @ 2018-03-03 20:42 myf008 阅读(328) 评论(0) 推荐(0)
posted @ 2018-03-03 19:41 myf008 阅读(288) 评论(0) 推荐(0)
posted @ 2018-03-03 19:34 myf008 阅读(172) 评论(0) 推荐(0)
posted @ 2018-03-03 18:17 myf008 阅读(559) 评论(0) 推荐(0)
posted @ 2018-03-03 18:15 myf008 阅读(267) 评论(0) 推荐(0)
posted @ 2018-03-03 18:00 myf008 阅读(546) 评论(0) 推荐(0)