|
|||||||
| 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.DelegatedArgument
|
+--com.smardec.j2native.UInt
UInt represents a platform-dependent unsigned integer value and type,
i.e. on 32-bits platform UInt works as UInt32.
| Field Summary |
| Fields inherited from class com.smardec.j2native.Argument |
JAVA_SIDE, NATIVE_SIDE |
| Constructor Summary | |
UInt()
Constructs a UInt object with a zero value. |
|
UInt(long value)
Constructs a UInt object with a specified value. |
|
| Method Summary | |
boolean |
booleanValue()
Returns the value of the specified number as a boolean. |
byte |
byteValue()
Returns the value of the specified number as a byte. |
double |
doubleValue()
Returns the value of the specified number as a double. |
float |
floatValue()
Returns the value of the specified number as a float. |
int |
intValue()
Returns the value of the specified number as an int. |
protected boolean |
isFixedLength()
Identify if Argument is a fixed length variable. |
long |
longValue()
Returns the value of the specified number as a long. |
void |
setValue(long value)
Sets an integer value |
short |
shortValue()
Returns the value of the specified number as a short. |
| Methods inherited from class com.smardec.j2native.DelegatedArgument |
finalize, free, fromBytesValue, getAlignedLength, getInternalValue, getLength, read, readFromRAM, readFromStack, restoreFromRAM, setInternalValue, storeToRAM, toBytesValue, toBytesValue, write, writeToRAM, writeToStack |
| Methods inherited from class com.smardec.j2native.Argument |
clone, getResultFlags, update |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UInt()
UInt object with a zero value.
public UInt(long value)
UInt object with a specified value.
value - value to set| Method Detail |
public void setValue(long value)
IntegerType
setValue in interface IntegerTypevalue - integer valuepublic long longValue()
NumericTypelong.
This may involve rounding or truncation.
longValue in interface NumericTypelong.public int intValue()
NumericTypeint.
This may involve rounding or truncation.
intValue in interface NumericTypeint.public short shortValue()
NumericTypeshort.
This may involve rounding or truncation.
shortValue in interface NumericTypeshort.public byte byteValue()
NumericTypebyte.
This may involve rounding or truncation.
byteValue in interface NumericTypebyte.public boolean booleanValue()
NumericTypeboolean.
This may involve rounding or truncation.
booleanValue in interface NumericTypeboolean.public float floatValue()
NumericTypefloat.
This may involve rounding.
floatValue in interface NumericTypefloat.public double doubleValue()
NumericTypedouble.
This may involve rounding.
doubleValue in interface NumericTypedouble.protected boolean isFixedLength()
ArgumentArgument is a fixed length variable.
isFixedLength in class DelegatedArgumenttrue if it is so, and false otherwise
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||