随笔分类 -  设计模式

摘要:class Singleton{ private Singleton(){ } private static volatile Singleton singleton = null; public static Singleton getInstance(){ if (singleton == nu 阅读全文
posted @ 2023-03-03 15:04 诸葛卧龙仙人 阅读(35) 评论(0) 推荐(0)