# design-pattern **Repository Path**: ukihsoroy/design-pattern ## Basic Information - **Project Name**: design-pattern - **Description**: 你不能不学的设计模式合集。 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 你不能不学的设计模式合集 ### 0x00.写在前面 啰嗦几句, 最早听说设计模式,还是听老师一次授课时提到的。 工作几年才越发感觉设计模式的重要性,借着慕课网的课程从头到尾复习了一遍,用笔记的底子经过调整。 断断续续将近半年算是完成了。 设计模式的重要性不言而喻。 学习它会提升你的编程能力,阅读框架源码以及面试都会得心应手。 **下面是正文!** ### 0x01.基础 - uml: [#UML类图](https://segmentfault.com/a/1190000019297850) - 设计原则: [#软件设计七大原则](https://segmentfault.com/a/1190000019338424) ### 0x02.创建型 - simple-factory: [#简单工厂模式](https://segmentfault.com/a/1190000019350133) - factory-method: [#工厂方法模式](https://segmentfault.com/a/1190000019362695) - abstract-factory: [#抽象工厂模式](https://segmentfault.com/a/1190000019409390) - builder: [#建造者模式](https://segmentfault.com/a/1190000019414444) - prototype: [#原型模式](https://segmentfault.com/a/1190000019553105) - singleton: [#单例模式](https://segmentfault.com/a/1190000019418273) ### 0x03.结构型 - adapter: [#适配器模式](https://segmentfault.com/a/1190000019894886) - bridge: [#桥接模式](https://segmentfault.com/a/1190000020107419) - composite: [#组合模式](https://segmentfault.com/a/1190000020035512) - decorator: [#装饰者模式](https://segmentfault.com/a/1190000019751698) - facade: [#门面模式](https://segmentfault.com/a/1190000019744173) - flyweight: [#享元模式](https://segmentfault.com/a/1190000019968046) - proxy: [#代理模式](https://segmentfault.com/a/1190000020699698) ### 0x04.行为型 - interpreter: [#解释器模式](https://segmentfault.com/a/1190000020758016) - template-method: [#模板方法模式](https://segmentfault.com/a/1190000020712719) - chain-of-responsibility: [#责任链模式](https://segmentfault.com/a/1190000021068454) - command: [#命令模式](https://segmentfault.com/a/1190000020957181) - iterator: [#迭代器模式](https://segmentfault.com/a/1190000020739482) - mediator: [#中介者模式](https://segmentfault.com/a/1190000021030664) - memento: [#备忘录模式](https://segmentfault.com/a/1190000020916494) - observer: [#观察者模式](https://segmentfault.com/a/1190000020887410) - state: [#状态模式](https://segmentfault.com/a/1190000021094565) - strategy: [#策略模式](https://segmentfault.com/a/1190000020746936) - visitor: [#访问者模式](https://segmentfault.com/a/1190000021091918) ### 0x05.代码地址 - `你不能不学的设计模式合集`:[https://github.com/sigmaol/design-pattern](https://github.com/sigmaol/design-pattern) ### 0x06.道阻且长,祝你们幸运。