| 程序包 | 说明 |
|---|---|
| com.alibaba.rocketmq.common.filter.impl |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Operand |
class |
Operator |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<Op> |
PolishExpr.reversePolish(List<Op> tokens)
将中缀表达式转换成逆波兰表达式
Shunting-yard algorithm http://en.wikipedia.org/wiki/Shunting_yard_algorithm |
static List<Op> |
PolishExpr.reversePolish(String expression)
将中缀表达式转换成逆波兰表达式
|
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
PolishExpr.isLeftParenthesis(Op token) |
static boolean |
PolishExpr.isOperand(Op token) |
static boolean |
PolishExpr.isOperator(Op token) |
static boolean |
PolishExpr.isRightParenthesis(Op token) |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<Op> |
PolishExpr.reversePolish(List<Op> tokens)
将中缀表达式转换成逆波兰表达式
Shunting-yard algorithm http://en.wikipedia.org/wiki/Shunting_yard_algorithm |
Copyright © 2012–2016. All rights reserved.