![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
设计模式
文章平均质量分 77
q1940977071
这个作者很懒,什么都没留下…
展开
-
单例模式【Singleton Pattern】
/** * * @author Administrator *中国历史上一般都是一个朝代一个皇帝,有两个皇帝的话, *必然要PK出一个皇帝出来 */ @SuppressWarnings("all") public class SingletonPattern { //创建一个皇帝 private static final SingletonPattern s翻译 2013-09-26 20:14:53 · 437 阅读 · 0 评论 -
代理模式【Proxy Pattern】
....翻译 2013-09-26 20:25:32 · 555 阅读 · 0 评论