From 8c5df338b324ce52d68465f66dfd4d96dcd7efb1 Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Sun, 25 Oct 2026 18:51:59 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E8=AE=BE=E8=AE=A1=E6=A8=A1=E5=BC=8F.m?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 适配器类图使用重新绘制的版本;量词统一为“一棵”。 --- notes/设计模式.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notes/设计模式.md b/notes/设计模式.md index fe1002a2..f48cb957 100644 --- a/notes/设计模式.md +++ b/notes/设计模式.md @@ -1004,9 +1004,9 @@ public class Client { ### Implementation -以下是一个规则检验器实现,具有 and 和 or 规则,通过规则可以构建一颗解析树,用来检验一个文本是否满足解析树定义的规则。 +以下是一个规则检验器实现,具有 and 和 or 规则,通过规则可以构建一棵解析树,用来检验一个文本是否满足解析树定义的规则。 -例如一颗解析树为 D And (A Or (B C)),文本 "D A" 满足该解析树定义的规则。 +例如一棵解析树为 D And (A Or (B C)),文本 "D A" 满足该解析树定义的规则。 这里的 Context 指的是 String。 @@ -2450,7 +2450,7 @@ public class Client { ### Class Diagram -

+

### Implementation