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