|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclarion.clarion.runtime.CMemory
public class CMemory
| Constructor Summary | |
|---|---|
CMemory()
|
|
| Method Summary | |
|---|---|
static int |
address(java.lang.Object o)
Return address reference for specified object |
static int |
address(java.lang.Object[] o)
Return address reference for specified array object |
static java.lang.Object |
castTo(ClarionMemoryModel mode,
java.lang.Class<? extends ClarionMemoryModel> clazz)
|
static void |
clear(java.lang.Object o)
Generic empty object |
static int |
getAddressPrototype(java.lang.String prototype)
Return address reference for specified protoype No way this could ever work. |
static java.lang.Object |
getPrototype(java.lang.Object clazz,
java.lang.String method)
Return object representing prototype for class |
static int |
instance(java.lang.Object o,
java.lang.Integer thread)
|
static int |
peek(ClarionObject o,
int offset)
Direct memory access |
static void |
poke(ClarionObject o,
ClarionObject val)
Direct memory access |
static java.lang.Object |
resolveAddress(int o)
Convert address id into an object |
static int |
size(ClarionMemoryModel o)
Return memory footprint size of supplied object |
static int |
tie(java.lang.String key,
int index,
int value)
Tie integer to index/key pair |
static int |
tied(java.lang.String key,
int index)
return integer tied to key+index pair |
static void |
untie(java.lang.String key,
int index)
untie key+index pair |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CMemory()
| Method Detail |
|---|
public static java.lang.Object castTo(ClarionMemoryModel mode,
java.lang.Class<? extends ClarionMemoryModel> clazz)
public static void clear(java.lang.Object o)
o - public static int size(ClarionMemoryModel o)
o -
public static int instance(java.lang.Object o,
java.lang.Integer thread)
public static int address(java.lang.Object o)
o -
public static int address(java.lang.Object[] o)
o -
public static int getAddressPrototype(java.lang.String prototype)
o -
public static java.lang.Object getPrototype(java.lang.Object clazz,
java.lang.String method)
clazz - method -
public static java.lang.Object resolveAddress(int o)
o -
public static int tied(java.lang.String key,
int index)
key - index -
public static int tie(java.lang.String key,
int index,
int value)
key - index - value -
public static void untie(java.lang.String key,
int index)
key - index -
public static int peek(ClarionObject o,
int offset)
o - offset -
public static void poke(ClarionObject o,
ClarionObject val)
o - offset -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||