|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JClassLayout
A layout manager for a class instance. This interface provides a method calculating the starting position of a field into the memory allocated for a class instance.
| Method Summary | |
|---|---|
int |
getInstanceSize()
Returns the number of bytes necessary to allocate a class instance into the heap associated with this layout. |
JClass |
getInstanceType()
Returns the type of the instances associated whis this layout manager. |
int |
getPosition(JField field)
Returns the specified field position into the memory allocated for the all class instances associated with this layout. |
| Methods inherited from interface fr.umlv.corosol.component.JLayout |
|---|
getHeap |
| Method Detail |
|---|
JClass getInstanceType()
int getInstanceSize()
int getPosition(JField field)
field - a field which the position in the memory is to be determined
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||