![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
设计模式
极之光
这个作者很懒,什么都没留下…
展开
-
MVC设计模式
MVC设计模式:MVC设计模式是为了让编程工程项目层次化,使之分工明确,便于设计项目工程和后期修改维护。M:model实现具体的功能代码,业务逻辑。V:view实现界面UI。C:Control作为M和V的桥梁,使之有条理的协调工作。转载 2015-04-07 22:59:04 · 405 阅读 · 0 评论 -
类之间的关系
类之间的关系 关联 依赖 聚集 泛化 实现原创 2017-06-09 21:48:22 · 244 阅读 · 0 评论 -
设计模式
可参考:卡奴达摩:23种设计模式1_单例 确保一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。 优点:避免频繁地创建新的实例,提升了效率。 //饿汉式(静态常量)[可用] public class Singleton { private final static Singleton INSTANCE = new Singleton(); private Sing原创 2017-06-10 05:15:04 · 240 阅读 · 0 评论