|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.umlv.corosol.component.JPrimitiveClass
fr.umlv.corosol.component.impl.FloatClass
public class FloatClass
This class is the default implementation of the float.class.
| Field Summary |
|---|
| Fields inherited from class fr.umlv.corosol.component.JPrimitiveClass |
|---|
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, SHORT, VOID |
| Fields inherited from interface fr.umlv.corosol.component.JClass |
|---|
CATEGORY1, CATEGORY2 |
| Constructor Summary | |
|---|---|
FloatClass()
Creates a new FloatClass object. |
|
| Method Summary | |
|---|---|
void |
arrayCopy(JArray src,
int srcPos,
JArray dest,
int destPos,
int length)
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array. |
void |
copyValue(JHeap srcHeap,
int src,
JHeap destHeap,
int dest)
|
void |
doGetfield(JStackFrame frame,
JField field)
Does the getfield operations on the specified stack frame. |
void |
doGetstatic(JStackFrame frame,
JField field)
Does the getstatic operations on the specified stack frame. |
void |
doPutfield(JStackFrame frame,
JField field)
Does the putfield operations on the specified stack frame. |
void |
doPutstatic(JStackFrame frame,
JField field)
Does the putstatic operations on the specified stack frame. |
void |
fieldCopy(JField field,
JClassInstance src,
JClassInstance dest)
Copies the float value of the specified field from the specified source class instance to the specified class instance destination. |
int |
getComputationalType()
Returns the number representing the computational type category of this class. |
java.lang.Class |
getNativeClass()
Returns the java.lang.Class object equivalent to this JClass object. |
JHeapObject |
pop(JStackFrame frame)
Returns the value located at the top of the operand stack of the specified frame. |
void |
push(java.lang.Object value,
JStackFrame frame)
Pushes the specified value onto the operand stack of the frame frame. |
java.lang.String |
toString()
Returns a String representation of this class. |
| Methods inherited from class fr.umlv.corosol.component.JPrimitiveClass |
|---|
getClassLoader, getComponentType, getConstantPool, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethods, getInterfaces, getModifiers, getName, getSuperclass, isAbstract, isAnonymousClass, isArray, isAssignableFrom, isInterface, isJObject, isPrimitive |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FloatClass()
| Method Detail |
|---|
public java.lang.Class getNativeClass()
Class
public void push(java.lang.Object value,
JStackFrame frame)
value - the value to be pushed onto the operand stack of a frameframe - a stack framepublic JHeapObject pop(JStackFrame frame)
frame - a stack frame
public int getComputationalType()
JClass.CATEGORY1,
JClass.CATEGORY2
public void doPutfield(JStackFrame frame,
JField field)
frame - the current frame of a threadfield - a JField object describing a field
public void doGetfield(JStackFrame frame,
JField field)
frame - the current stack frame of a threadfield - a JField object describing the field to be pushed
onto the stack frame
public void doPutstatic(JStackFrame frame,
JField field)
frame - the current frame of a threadfield - a JField object describing a static field
public void doGetstatic(JStackFrame frame,
JField field)
frame - the current stack frame of a threadfield - a JField object describing a static field
public void arrayCopy(JArray src,
int srcPos,
JArray dest,
int destPos,
int length)
src - the source array.srcPos - starting position in the source array.dest - the destination array.destPos - starting position in the destination data.length - the number of array elements to be copied.
public void fieldCopy(JField field,
JClassInstance src,
JClassInstance dest)
field - the float field whose the value have to be copiedsrc - the source class instancedest - the destination class instancepublic java.lang.String toString()
toString in class java.lang.Object
public void copyValue(JHeap srcHeap,
int src,
JHeap destHeap,
int dest)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||