public class DoubleLiteralExpression extends Expression
ExpressionTypes.DOUBLE_LITERAL.| Constructor and Description |
|---|
DoubleLiteralExpression(double value)
Creates a double literal expression.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Returns the type of this expression.
|
double |
getValue()
Returns the value of this expression.
|
public DoubleLiteralExpression(double value)
value - the value of the expression.public double getValue()
public int getType()
ExpressiongetType in class ExpressionExpressionTypes).