随笔分类 -  设计模式

摘要:1.单例模式(Singleton Pattern) 定义:Ensure a class has only one instance, and provide a global point of access to it.(确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。) 通用代码 阅读全文
posted @ 2018-02-27 09:36 GᎭ•Cristin 阅读(170) 评论(0) 推荐(0)