public class TDNumeric extends TDTypeValue
| Constructor and Description |
|---|
TDNumeric(Double value) |
TDNumeric(Float value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TDTypeValue o) |
boolean |
equals(Object obj) |
DataType |
getReturnedDataType()
Validates the returned data type of the Expression.
|
Double |
getValue() |
int |
hashCode() |
String |
toString() |
void |
validate()
Validates correctness of the Expression
|
getLeavesByTypeclone, getAppliableOperators, getExpressionsByCategorypublic Double getValue()
public void validate()
throws MalformedExpressionException
Expressionvalidate in class ExpressionMalformedExpressionExceptionpublic int compareTo(TDTypeValue o)
public DataType getReturnedDataType()
ExpressiongetReturnedDataType in class TDTypeValueCopyright © 2015. All Rights Reserved.