|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.expression.ScalarExpression.Operator
org.jpox.store.expression.ScalarExpression.MonadicOperator
protected static class ScalarExpression.MonadicOperator
"Monadic" operator performs a function on one operand. It can be in either postfix or prefix notation.
| Field Summary |
|---|
| Fields inherited from class org.jpox.store.expression.ScalarExpression.Operator |
|---|
precedence, symbol |
| Constructor Summary | |
|---|---|
ScalarExpression.MonadicOperator(java.lang.String symbol,
int precedence)
Monodiac operator |
|
| Method Summary | |
|---|---|
boolean |
isHigherThan(ScalarExpression.Operator op)
Check if this operator has higher precedence than op |
| Methods inherited from class org.jpox.store.expression.ScalarExpression.Operator |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScalarExpression.MonadicOperator(java.lang.String symbol,
int precedence)
symbol - the source text or symbol of an operator. e.g =, ==, +, /, >, <, etcprecedence - the order of precedence where the expression is compiled| Method Detail |
|---|
public boolean isHigherThan(ScalarExpression.Operator op)
op
op - the operator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||