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