|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JClassInstance
This interface represents an instance of a class.
| Method Summary | |
|---|---|
boolean |
getBoolean(JField field)
Returns the boolean value of the specified field. |
byte |
getByte(JField field)
Returns the byte value of the specified field. |
char |
getChar(JField field)
Returns the char value of the specified field. |
double |
getDouble(JField field)
Returns the double value of the specified field. |
float |
getFloat(JField field)
Returns the float value of the specified field. |
int |
getInt(JField field)
Returns the int value of the specified field. |
long |
getLong(JField field)
Returns the long value of the specified field. |
JHeapObject |
getObject(JField field)
Returns the object corresponding to the specified field. |
short |
getShort(JField field)
Returns the short value of the specified field. |
void |
setBoolean(JField field,
boolean value)
Sets the specified field with the specified boolean value. |
void |
setByte(JField field,
byte value)
Sets the specified field with the specified byte value. |
void |
setChar(JField field,
char value)
Sets the specified field with the specified char value. |
void |
setDouble(JField field,
double value)
Sets the specified field with the specified double value. |
void |
setFloat(JField field,
float value)
Sets the specified field with the specified float value. |
void |
setInt(JField field,
int value)
Sets the specified field with the specified int value. |
void |
setLayout(JClassLayout layout)
Sets the layout of the object representing by this JClassInstance object. |
void |
setLong(JField field,
long value)
Sets the specified field with the specified long value. |
void |
setObject(JField field,
JHeapObject value)
Sets the specified field with the reference of the specified object. |
void |
setShort(JField field,
short value)
Sets the specified field with the specified short value. |
| Methods inherited from interface fr.umlv.corosol.component.JHeapObject |
|---|
getNativeObject, getType, isNative |
| Methods inherited from interface fr.umlv.corosol.component.JAllocatable |
|---|
getPosition, getSize, setPosition |
| Method Detail |
|---|
void setLayout(JClassLayout layout)
layout - the layout describing the object class field positionsbyte getByte(JField field)
field - a field
boolean getBoolean(JField field)
field - a field
char getChar(JField field)
field - a field
short getShort(JField field)
field - a field
int getInt(JField field)
field - a field
float getFloat(JField field)
field - a field
long getLong(JField field)
field - a field
double getDouble(JField field)
field - a field
JHeapObject getObject(JField field)
field - a field
void setByte(JField field,
byte value)
field - a fieldvalue - a byte value
void setBoolean(JField field,
boolean value)
field - a fieldvalue - a boolean value
void setChar(JField field,
char value)
field - a fieldvalue - a char value
void setShort(JField field,
short value)
field - a fieldvalue - a short value
void setInt(JField field,
int value)
field - a fieldvalue - a int value
void setFloat(JField field,
float value)
field - a fieldvalue - a float value
void setLong(JField field,
long value)
field - a fieldvalue - a long value
void setDouble(JField field,
double value)
field - a fieldvalue - a double value
void setObject(JField field,
JHeapObject value)
field - a fieldvalue - an object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||