public class ExprNOT extends AbstractUnaryExpression
expr
root
Constructor and Description |
---|
ExprNOT(Expression root) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eval()
Evaluate the expression.
|
Expression |
getExpression()
Return the associated expression.
|
java.lang.String |
getExpressionName()
Return the expression name.
|
void |
setExpression(Expression expr) |
getVariables
getRoot, setRoot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRoot, getVariable, getVariable, getVariables, hasVariable, hasVariable
public ExprNOT(Expression root)
public java.lang.String getExpressionName()
Expression
public void setExpression(Expression expr)
public Expression getExpression()
Expression
public java.lang.Object eval() throws java.lang.ArithmeticException
Expression
java.lang.ArithmeticException
Copyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence