Class Expression.MonadicOperator
- java.lang.Object
-
- org.datanucleus.store.query.expression.Expression.Operator
-
- org.datanucleus.store.query.expression.Expression.MonadicOperator
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Expression
public static class Expression.MonadicOperator extends Expression.Operator
"Monadic" operator performs a function on one operand. It can be in either postfix or prefix notation.- Prefix notation meaning the operator appears before its operand. operator operand
- Postfix notation meaning the operator appears after its operand. operand operator
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.datanucleus.store.query.expression.Expression.Operator
precedence, symbol
-
-
Constructor Summary
Constructors Constructor Description MonadicOperator(java.lang.String symbol, int precedence)
Monodiac operator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isHigherThan(Expression.Operator op)
Check if this operator has higher precedence thanop
-
Methods inherited from class org.datanucleus.store.query.expression.Expression.Operator
toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
isHigherThan
public boolean isHigherThan(Expression.Operator op)
Check if this operator has higher precedence thanop
- Parameters:
op
- the operator- Returns:
- true if this operation is higher
-
-