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