摘要:
//第一种最简单,但没有考虑线程安全,在多线程时可能会出问题,不过俺从没看过出错的现象 public class Singleton { private static Singleton _instance = null; private Singleton(){} public static Singleton CreateInstance() { ... 阅读全文
posted @ 2018-04-23 09:13
口袋里的SKY
阅读(113)
评论(0)
推荐(0)
浙公网安备 33010602011771号