public class ExprLT extends AbstractAryExpression
expr1, expr2block, rootSTRUCT_ARRAY, STRUCT_SCALAR, STRUCT_STRUCTURE, TYPE_BOOL, TYPE_DYNAMIC, TYPE_FLOAT, TYPE_INTEGER, TYPE_NUMERIC, TYPE_STRING, TYPE_UNDEF| Constructor and Description | 
|---|
ExprLT(Expression root)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
clone()  | 
java.lang.Object | 
eval()
Evaluate the expression. 
 | 
boolean | 
evalAsBoolean()
Evaluate the expression as a boolean. 
 | 
java.lang.String | 
getExpressionName()
Return the expression name. 
 | 
short | 
getResultStructure()
Return the structure of the result for the expression. 
 | 
short | 
getResultType()
Return the type of the result for the expression. 
 | 
getExpression1, getExpression2, getVariables, setExpression1, setExpression2evalAsFloat, evalAsInt, getParentBlock, getRoot, setParentBlock, setRootequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevalAsFloat, evalAsInt, getExpression, getLocalVariable, getLocalVariables, getParentBlock, getRoot, getVariable, getVariable, getVariables, hasVariable, hasVariable, removeVariable, setParentBlockpublic ExprLT(Expression root)
public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
clone in interface Expressionclone in class AbstractExpressionjava.lang.CloneNotSupportedExceptionpublic java.lang.String getExpressionName()
Expressionpublic final boolean evalAsBoolean()
ExpressionExpression.eval(), but the evaluation
 engine will be able to optimize the computation by knwoing that the result is a boolean (primitive valeus are cached internally).evalAsBoolean in interface ExpressionevalAsBoolean in class AbstractExpressionpublic java.lang.Object eval()
                      throws java.lang.ArithmeticException
Expressionjava.lang.ArithmeticExceptionpublic short getResultType()
ExpressionExpressionType.TYPE_INTEGER: integerExpressionType.TYPE_FLOAT: floatExpressionType.TYPE_NUMERIC: integer or float value. The runtime actual type may depend on the expression argumentsExpressionType.TYPE_STRING: stringExpressionType.TYPE_DYNAMIC: dynamic type. The runtime actual type may depend on the expression argumentsExpressionType.TYPE_UNDEF: undefined type. The default type, characteristic of an error if entountered.public short getResultStructure()
ExpressionExpressionType.STRUCT_SCALAR: a scalar valueExpressionType.STRUCT_ARRAY: an array valueCopyright © 2018 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence