|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.NumericArgument
|
+--com.smardec.j2native.FloatArgument
|
+--com.smardec.j2native.SimpleFloat
SimpleFloat represents float value and type.
| Field Summary |
| Fields inherited from class com.smardec.j2native.Argument |
JAVA_SIDE, NATIVE_SIDE |
| Constructor Summary | |
SimpleFloat()
Constructs a SimpleFloat object with a zero value. |
|
SimpleFloat(float value)
Constructs a SimpleFloat object with a specified value. |
|
| Method Summary | |
protected void |
bits2Value(long bits)
Sets the value by its bit representation. |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
int |
getLength()
Returns length in bytes. |
protected boolean |
isSigned()
Shows if number is signed |
protected long |
value2Bits()
Returns the value as bit representation. |
| Methods inherited from class com.smardec.j2native.FloatArgument |
booleanValue, byteValue, doubleValue, floatValue, getResultFlags, intValue, isFixedLength, isFloat, longValue, setValue, shortValue |
| Methods inherited from class com.smardec.j2native.NumericArgument |
fromBytesValue, read, readFromStack, toBytesValue, toBytesValue, write, writeToStack |
| Methods inherited from class com.smardec.j2native.Argument |
finalize, free, getAlignedLength, readFromRAM, restoreFromRAM, storeToRAM, update, writeToRAM |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleFloat()
SimpleFloat object with a zero value.
public SimpleFloat(float value)
SimpleFloat object with a specified value.
value - value to set| Method Detail |
protected boolean isSigned()
NumericArgument
isSigned in class NumericArgumentpublic int getLength()
Argument
getLength in class Argumentpublic java.lang.Object clone()
Argument
clone in class Argumentprotected long value2Bits()
NumericArgument
value2Bits in class FloatArgumentprotected void bits2Value(long bits)
NumericArgument
bits2Value in class FloatArgumentbits - value as bit representation
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||