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