Out Of Bounds

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年10月30日

摘要: import java.util.LinkedList;import java.util.regex.Matcher;import java.util.regex.Pattern;/** * 1.中缀表达式转换为后缀表达式 * 2.逆波兰式计算 * * @author Administrator * */public class Calculater { public static void main(String[] args) {// String str = "5+((1+2)*4)-13"; String str = "12/4.1+(1+4*5)&quo 阅读全文
posted @ 2012-10-30 14:36 dexterman 阅读(386) 评论(0) 推荐(0) 编辑