|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectggencoder.datastructures.AbstractRawCode
ggencoder.datastructures.BasicGenesisRawCode
An implementation of the GenesisRawCode interface.
Constructor Summary | |
BasicGenesisRawCode(int address,
int value)
Creates a new BasicGenesisRawCode object. |
Method Summary | |
void |
setAddress(int address)
Sets the address of this code. |
void |
setValue(int value)
Sets the value of this code. |
java.lang.String |
toString()
Returns a String representation of this code. |
Methods inherited from class ggencoder.datastructures.AbstractRawCode |
getAddress, getValue, toHexString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ggencoder.datastructures.RawCode |
getAddress, getValue |
Constructor Detail |
public BasicGenesisRawCode(int address, int value)
address
- This code's address.value
- This code's value.Method Detail |
public void setAddress(int address)
setAddress
in interface RawCode
setAddress
in class AbstractRawCode
address
- The code's address.public void setValue(int value)
setValue
in interface RawCode
setValue
in class AbstractRawCode
value
- The code's value.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |