摘要: 阅读全文
posted @ 2018-12-18 19:06 圣金巫灵 阅读(82) 评论(0) 推荐(0) 编辑
摘要: /** * 不是线程安全的 */ public class UnsafeSingleton { private static UnsafeSingleton uniqueInstance; private UnsafeSingleton() { } public static UnsafeSingl 阅读全文
posted @ 2018-12-18 19:05 圣金巫灵 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-12-18 15:12 圣金巫灵 阅读(99) 评论(0) 推荐(0) 编辑