Skip to content

Commit 8dcdb26

Browse files
committed
update README.md
1 parent 3baf104 commit 8dcdb26

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
设计模式分为三种类型,共23种:
55

66
- **创建型模式**[单例模式](https://github.com/youlookwhat/DesignPattern#3-单例设计模式)[抽象工厂模式](https://github.com/youlookwhat/DesignPattern#2-工厂模式)[建造者模式](https://github.com/youlookwhat/DesignPattern#11-建造者模式)[工厂模式](https://github.com/youlookwhat/DesignPattern#2-工厂模式)[原型模式](https://github.com/youlookwhat/DesignPattern#12-原型模式)
7-
- **结构型模式**[适配器模式](https://github.com/youlookwhat/DesignPattern#5-适配器模式)、桥接模式、[装饰模式](https://github.com/youlookwhat/DesignPattern#7-装饰者模式)、组合模式、[外观模式](https://github.com/youlookwhat/DesignPattern#8-外观模式)[享元模式](https://github.com/youlookwhat/DesignPattern#13-享元模式)[代理模式](https://github.com/youlookwhat/DesignPattern#14-代理模式)
7+
- **结构型模式**[适配器模式](https://github.com/youlookwhat/DesignPattern#5-适配器模式)[桥接模式](https://github.com/youlookwhat/DesignPattern#15-桥接模式)[装饰模式](https://github.com/youlookwhat/DesignPattern#7-装饰者模式)、组合模式、[外观模式](https://github.com/youlookwhat/DesignPattern#8-外观模式)[享元模式](https://github.com/youlookwhat/DesignPattern#13-享元模式)[代理模式](https://github.com/youlookwhat/DesignPattern#14-代理模式)
88
- **行为型模式**[模版方法模式](https://github.com/youlookwhat/DesignPattern#9-模板方法模式)[命令模式](https://github.com/youlookwhat/DesignPattern#6-命令模式)、迭代器模式、[观察者模式](https://github.com/youlookwhat/DesignPattern#1-观察者模式)、中介者模式、备忘录模式、解释器模式、[状态模式](https://github.com/youlookwhat/DesignPattern#10-状态模式)[策略模式](https://github.com/youlookwhat/DesignPattern#4-策略模式)、职责链模式(责任链模式)、访问者模式。
99

1010
> 参照Hongyang、菜鸟教程、极客学院等文章所写。如有错误欢迎指正,如有侵权,请联系我删除。
@@ -42,6 +42,8 @@
4242

4343
- 14.[ 设计模式 代理模式(Proxy Pattern) 以获取磁盘中的图片为例](https://www.runoob.com/design-pattern/proxy-pattern.html)
4444

45+
- 15.[ 设计模式 桥接模式(Bridge Pattern) 以画不同颜色的圆为例](https://www.runoob.com/design-pattern/bridge-pattern.html)
46+
4547

4648
## Source Code
4749
> - 1. [Observer](https://github.com/youlookwhat/DesignPattern/tree/master/app/src/main/java/com/example/jingbin/designpattern/observer)
@@ -58,6 +60,7 @@
5860
> - 12. [Prototype](https://github.com/youlookwhat/DesignPattern/tree/master/app/src/main/java/com/example/jingbin/designpattern/prototype)
5961
> - 13. [Flyweight](https://github.com/youlookwhat/DesignPattern/tree/master/app/src/main/java/com/example/jingbin/designpattern/flyweight)
6062
> - 14. [Proxy](https://github.com/youlookwhat/DesignPattern/tree/master/app/src/main/java/com/example/jingbin/designpattern/proxy)
63+
> - 15. [Bridge](https://github.com/youlookwhat/DesignPattern/tree/master/app/src/main/java/com/example/jingbin/designpattern/bridge)
6164
6265
## Project Picture
6366

@@ -777,6 +780,8 @@
777780
image.display();
778781
```
779782

783+
### 15. 桥接模式
784+
> 桥接(Bridge)是用于把抽象化与实现化解耦,使得二者可以独立变化。这种类型的设计模式属于结构型模式,它通过提供抽象化和实现化之间的桥接结构,来实现二者的解耦。
780785
781786
## Download
782787
- [DesignPattern.apk](http://download.csdn.net/detail/jingbin_/9684545)

0 commit comments

Comments
 (0)