public final class NdConstantDouble extends NdConstant
| Modifier and Type | Field and Description |
|---|---|
static StructDef<NdConstantDouble> |
type |
static FieldDouble |
VALUE |
PARENT_ANNOTATION_VALUE, PARENT_ARRAY, PARENT_METHOD, PARENT_VARIABLE| Modifier | Constructor and Description |
|---|---|
protected |
NdConstantDouble(Nd nd) |
|
NdConstantDouble(Nd nd,
long address) |
| Modifier and Type | Method and Description |
|---|---|
static NdConstantDouble |
create(Nd nd,
double value) |
Constant |
getConstant()
Returns the
Constant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant. |
double |
getValue() |
void |
setValue(double value) |
create, setParent, toStringpublic static final FieldDouble VALUE
public static StructDef<NdConstantDouble> type
public NdConstantDouble(Nd nd, long address)
protected NdConstantDouble(Nd nd)
public static NdConstantDouble create(Nd nd, double value)
public void setValue(double value)
public double getValue()
public Constant getConstant()
NdConstantConstant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant.getConstant in class NdConstant