getintvalue
getintvalue |
Purpose
Synopsis
function getintvalue(obj:jvmobject) : integer
Argument
obj
|
The object reference to query, which may be any subclass of
java.lang.Number
|
Return value
The integer value held within the Java object
Further information
1. If the reference within the
jvmobject is null, calling this function will cause the model to immediately terminate with an error. You can use
getisnull to check the object reference is set before calling this.
2. If the
jvmobject is not a subclass of
java.lang.Number, calling this function will cause the model to immediately terminate with an error. You can use
getclass to check the object reference type before calling this.
Related topics