public final class NumberEval extends java.lang.Object implements NumericValueEval, StringValueEval
Modifier and Type | Field and Description |
---|---|
static NumberEval |
ZERO |
Constructor and Description |
---|
NumberEval(double value) |
NumberEval(Ptg ptg) |
Modifier and Type | Method and Description |
---|---|
double |
getNumberValue() |
java.lang.String |
getStringValue() |
java.lang.String |
toString() |
public static final NumberEval ZERO
public NumberEval(Ptg ptg)
public NumberEval(double value)
public double getNumberValue()
getNumberValue
in interface NumericValueEval
public java.lang.String getStringValue()
getStringValue
in interface StringValueEval
null
, possibly empty string.public final java.lang.String toString()
toString
in class java.lang.Object
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.