public class DoubleLiteral extends AbstractLiteral
| Modifier and Type | Method and Description |
|---|---|
void |
accept(LiteralVisitor visitor)
Accept a
LiteralVisitor. |
double |
getValue()
Get the value of the
DoubleLiteral |
static DoubleLiteral |
of(double value)
Create a new
DoubleLiteral from a double. |
String |
toString() |
acceptpublic static DoubleLiteral of(double value)
DoubleLiteral from a double.value - contentDoubleLiteralpublic double getValue()
DoubleLiteralpublic void accept(LiteralVisitor visitor)
LiteralLiteralVisitor.visitor - visitor to acceptCopyright © 2018–2021. All rights reserved.