Welcome![Sign In][Sign Up]
Location:
Search - infix Parser

Search list

[Data structssrc

Description: Java版运算表达式解析器 主要功能: 对有括号的四则运算解析并求解. 支持多种表达式类型 思路: 1.把中缀表达式转化成后缀表达式 2.从后缀表达式得到解 注意: 该版本只支持1.6JDK,如果想替换成1.5JDK改替换LinkedList的几个方法就行了. 详细内容: http://jomper.javaeye.com/blog/464906-Java version of computing expressions parser main functions: to have the brackets, and four computing analytic solution. Supports a variety of types of ideas the expression: 1. The infix expression into postfix expression 2. Postfix expression is obtained from the solution Note: This version only supports 1.6JDK, If you want to make changes to replace LinkedList replaced 1.5JDK several methods on the list. Details: http://jomper.javaeye.com/blog/464906
Platform: | Size: 2048 | Author: jomper | Hits:

CodeBus www.codebus.net