public class InFixToPostFix extends Object
RuleFactory
Supports grouping via parens, mult-word operands using single or double quotes,
and these operators:
! NOT operator
!= NOT EQUALS operator
== EQUALS operator
~= CASE-INSENSITIVE equals operator
|| OR operator
&& AND operator
like REGEXP operator
exists NOT NULL operator
< LESS THAN operator
> GREATER THAN operator
<= LESS THAN EQUALS operator
>= GREATER THAN EQUALS operator| Modifier and Type | Class and Description |
|---|---|
static class |
InFixToPostFix.CustomTokenizer |
| Constructor and Description |
|---|
InFixToPostFix() |
public String convert(String expression)
expression - in-fix expression.public static boolean isOperand(String s)
s - symbol.Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.