Interpreter+解释器模式(行为型模式)
摘要:
public abstract class Expression { protected Dictionary<string, int> table = new Dictionary<string, int>( 9 ); public Expression() { table.Add( "一", 1 ); table.Add( "二", 2 ); table.Add( "三", 3 ); table.Add( "四", 4 ); tab... 阅读全文
posted @ 2013-04-10 19:42 HOT SUMMER 阅读(201) 评论(0) 推荐(0) 编辑