Class DoubleConstantExpression
java.lang.Object
org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberTypeExpression
org.jd.core.v1.model.javasyntax.expression.DoubleConstantExpression
- All Implemented Interfaces:
Iterable<Expression>, BaseExpression, Expression, Base<Expression>
-
Field Summary
FieldsFields inherited from class AbstractLineNumberTypeExpression
typeFields inherited from class AbstractLineNumberExpression
lineNumberFields inherited from interface Expression
UNKNOWN_LINE_NUMBER -
Constructor Summary
ConstructorsConstructorDescriptionDoubleConstantExpression(double value) DoubleConstantExpression(int lineNumber, double value) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ExpressionVisitor visitor) doublegetValue()toString()Methods inherited from class AbstractLineNumberTypeExpression
getType, setTypeMethods inherited from class AbstractLineNumberExpression
getLineNumber, getPriorityMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
value
protected double value
-
-
Constructor Details
-
DoubleConstantExpression
public DoubleConstantExpression(double value) -
DoubleConstantExpression
public DoubleConstantExpression(int lineNumber, double value)
-
-
Method Details
-
getValue
public double getValue() -
accept
-
toString
-