fadfadfafsfasd / cdqpt.github.io

陈德强的博客
https://www.purethought.cn/
0 stars 0 forks source link

设计模式之禅笔记(二) | ALaDing #267

Open fadfadfafsfasd opened 4 years ago

fadfadfafsfasd commented 4 years ago

https://purethought.cn/5515.html

23种设计模式(一)单例模式 Ensure a class has only one instance, and provide a global point of access to it.确保某一个类只有一个实例,而且自行实例化并向整个