摘要: /**解释模式 * 用解释器模式来实现 加减乘除四则运算 * Created by nicknailo on 2018/8/30. */ public class InterpretPattern { public static void main(String[] args) { Calculator calculator = new Calculator("1... 阅读全文
posted @ 2018-08-30 10:16 nicknailo 阅读(451) 评论(0) 推荐(0) 编辑