|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectggencoder.datastructures.AbstractRawCode
Abstract implementation of the RawCode interface.
Constructor Summary | |
AbstractRawCode()
|
Method Summary | |
int |
getAddress()
Gets the address of this code. |
int |
getValue()
Gets the value of this code. |
void |
setAddress(int address)
Sets the address of this code. |
void |
setValue(int value)
Sets the value of this code. |
java.lang.String |
toHexString(int number,
int minLength)
Builds a hex string from an integer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractRawCode()
Method Detail |
public int getAddress()
getAddress
in interface RawCode
public void setAddress(int address)
setAddress
in interface RawCode
address
- The code's address.public int getValue()
getValue
in interface RawCode
public void setValue(int value)
setValue
in interface RawCode
value
- The code's value.public java.lang.String toHexString(int number, int minLength)
number
- The number to build the hex string from.minLength
- The minimum length of the hex string.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |