提交 82fb476a 编写于 作者: C chenjianqiang

1.更新主方法

上级 57245fef
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="e43e9168-5945-4f45-b4c2-1b6410d1eef8" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/out/production/patterns/com/chen/InterpreterPattern/InterpreterMain.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/patterns/com/chen/InterpreterPattern/InterpreterMain.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/patterns/com/chen/InterpreterPattern/po/OrExpression.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/patterns/com/chen/InterpreterPattern/po/OrExpression.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/patterns/com/chen/Main.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/com/chen/InterpreterPattern/package-info.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/com/chen/InterpreterPattern/package-info.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/com/chen/PatternMain.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/com/chen/PatternApplication.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/com/chen/StrategyPattern/StrategyMain.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/com/chen/StrategyPattern/StrategyMain.java" afterDir="false" />
<list default="true" id="e43e9168-5945-4f45-b4c2-1b6410d1eef8" name="Changes" comment="增加策略模式案例&#10;Signed-off-by: chenjianqiang &lt;wushanxi@gmail.com&gt;">
<change beforePath="$PROJECT_DIR$/src/com/chen/PatternApplication.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/com/chen/PatternApplication.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/com/chen/PatternMain.java" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -130,8 +126,16 @@
<workItem from="1634085227295" duration="1967000" />
<workItem from="1634087918450" duration="3646000" />
<workItem from="1634091679401" duration="1323000" />
<workItem from="1634093719115" duration="2395000" />
<workItem from="1634093719115" duration="2735000" />
</task>
<task id="LOCAL-00001" summary="增加策略模式案例&#10;Signed-off-by: chenjianqiang &lt;wushanxi@gmail.com&gt;">
<created>1634096220780</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1634096220780</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
......@@ -148,4 +152,8 @@
</map>
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="增加策略模式案例&#10;Signed-off-by: chenjianqiang &lt;wushanxi@gmail.com&gt;" />
<option name="LAST_COMMIT_MESSAGE" value="增加策略模式案例&#10;Signed-off-by: chenjianqiang &lt;wushanxi@gmail.com&gt;" />
</component>
</project>
\ No newline at end of file
......@@ -11,7 +11,7 @@ public class PatternApplication {
public static void main(String[] args) {
//解释器模式
// new InterpreterMain().main();
//new InterpreterMain().main();
//策略模式
new StrategyMain().main();
......
package com.chen;
import com.chen.InterpreterPattern.InterpreterMain;
/**
* @author lx
*/
public class PatternMain {
public static void main(String[] args) {
//解释器模式
new InterpreterMain().main();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册