|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjosx.platform.rcx.Memory
public class Memory
Provides access to memory.
| Field Summary | |
|---|---|
static Object |
MONITOR
Should be used for all native memory accesses. |
| Constructor Summary | |
|---|---|
Memory()
|
|
| Method Summary | |
|---|---|
static int |
getDataAddress(Object obj)
|
static byte |
readByte(int aAddr)
|
static short |
readShort(int aAddr)
|
static void |
setBit(int aAddr,
int bit,
int value)
|
static void |
writeByte(int aAddr,
byte aByte)
|
static void |
writeShort(int aAddr,
short s)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
| Field Detail |
|---|
public static final Object MONITOR
| Constructor Detail |
|---|
public Memory()
| Method Detail |
|---|
public static byte readByte(int aAddr)
public static void writeByte(int aAddr,
byte aByte)
public static int getDataAddress(Object obj)
public static void setBit(int aAddr,
int bit,
int value)
public static short readShort(int aAddr)
public static void writeShort(int aAddr,
short s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||