public final class NdConstantFloat extends NdConstant
| Modifier and Type | Field and Description |
|---|---|
static StructDef<NdConstantFloat> |
type |
static FieldFloat |
VALUE |
PARENT_ANNOTATION_VALUE, PARENT_ARRAY, PARENT_METHOD, PARENT_VARIABLE| Modifier | Constructor and Description |
|---|---|
protected |
NdConstantFloat(Nd nd) |
|
NdConstantFloat(Nd nd,
long address) |
| Modifier and Type | Method and Description |
|---|---|
static NdConstantFloat |
create(Nd nd,
float value) |
Constant |
getConstant()
Returns the
Constant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant. |
float |
getValue() |
void |
setValue(float value) |
create, setParent, toStringdelete, destruct, equals, getAddress, getBindingID, getBit, getByte, getNodeId, getNodeType, hashCode, load, loadpublic static final FieldFloat VALUE
public static StructDef<NdConstantFloat> type
public NdConstantFloat(Nd nd, long address)
protected NdConstantFloat(Nd nd)
public static NdConstantFloat create(Nd nd, float value)
public void setValue(float value)
public float 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