版权声明:知识在分享中升华,思想在交流中沉淀,欢迎大家转载。 https://blog.csdn.net/qwfys200/article/details/82393564
Overview
Prototype Pattern
Ensure a class only has one instance, and provide a global point of access to it.
保证一个类仅有一个实例,并提供一个访问它的全局访问点。
参考文献
- Java设计模式/耿祥义,张跃平. ——北京:清华大学出版社,2009.5