Skip to content

Commit 7415f4e

Browse files
author
wb-zhangtiliang
committed
add interpreter
1 parent f425674 commit 7415f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Java相关/设计模式.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
- [Java设计模式之责任链模式、职责链模式](https://blog.csdn.net/jason0539/article/details/45091639)
7070
- [责任链模式实现的三种方式](https://www.cnblogs.com/lizo/p/7503862.html)
7171
- **命令模式:** <https://design-patterns.readthedocs.io/zh_CN/latest/behavioral_patterns/command.html> 在软件设计中,我们经常需要向某些对象发送请求,但是并不知道请求的接收者是谁,也不知道被请求的操作是哪个,我们只需在程序运行时指定具体的请求接收者即可,此时,可以使用命令模式来进行设计,使得请求发送者与请求接收者消除彼此之间的耦合,让对象之间的调用关系更加灵活。命令模式可以对发送者和接收者完全解耦,发送者与接收者之间没有直接引用关系,发送请求的对象只需要知道如何发送请求,而不必知道如何完成请求。这就是命令模式的模式动机。
72-
- **解释器模式:** 提供更方便的表达式来表达业务含义
72+
- **解释器模式:** 提供更方便的表达式来表达业务含义 <https://www.cnblogs.com/zhou-yi/p/5462663.html>
7373
- **迭代器模式:** <https://github.com/pczhangtl/JavaGuide/blob/master/Java%E7%9B%B8%E5%85%B3/%E8%BF%AD%E4%BB%A3%E5%99%A8%E6%A8%A1%E5%BC%8F.md>
7474
- **中介者模式:** <https://design-patterns.readthedocs.io/zh_CN/latest/behavioral_patterns/mediator.html>
7575
- **备忘录模式:**

0 commit comments

Comments
 (0)