From 91d5129a2ac2899ea25e3455b60257d05e55bb82 Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Sat, 7 Nov 2026 17:10:33 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E8=AE=BE=E8=AE=A1=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=20-=20=E8=A7=A3=E9=87=8A=E5=99=A8.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 示例代码补上 import。 --- notes/设计模式 - 解释器.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notes/设计模式 - 解释器.md b/notes/设计模式 - 解释器.md index 12b9b406..75358d25 100644 --- a/notes/设计模式 - 解释器.md +++ b/notes/设计模式 - 解释器.md @@ -27,6 +27,8 @@ public abstract class Expression { ``` ```java +import java.util.StringTokenizer; + public class TerminalExpression extends Expression { private String literal = null;