摘要:
第一种(懒汉,线程不安全): Java代码 public class Singleton { private static Singleton instance; private Singleton (){} public static Singleton getInstance() { if (i 阅读全文
posted @ 2020-05-02 01:40
MichaelMaDragon
阅读(147)
评论(0)
推荐(0)
浙公网安备 33010602011771号