Loading

随笔分类 -  设计模式

设计模式
摘要:定义 单例模式(Singleton Pattern)的定义如下:Ensure a class only has one instance, and provide a global point of access to it(确保某一个类只有一个实例,并且提供一个全局访问点来访问此实例)。在JVM应 阅读全文
posted @ 2018-07-29 10:18 throwable 阅读(637) 评论(0) 推荐(0) 编辑
摘要:什么是设计模式 在GoF(Gang of Four)的书籍《Design Patterns - Elements of Reusable Object-Oriented Software(设计模式-可复用面向对象软件的基础)》中是这样定义设计模式的:Christopher Alexander说过:“ 阅读全文
posted @ 2018-07-15 22:39 throwable 阅读(5310) 评论(0) 推荐(6) 编辑

点击右上角即可分享
微信分享提示
more_horiz
keyboard_arrow_up dark_mode palette
选择主题