jvm :: JValue :: defaultinit
jvm :: JValue :: get_boolean
jvm :: JValue :: get_jobject
jvm :: JValue :: set_boolean
jvm :: JValue :: set_jobject
core :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
jvm :: JValue :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
jvm :: JValue :: get_boolean
jvm :: JValue :: get_jobject
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).jvm :: JValue :: set_boolean
jvm :: JValue :: set_jobject
# Reprents a jni jvalue
extern class JValue `{jvalue`}
fun set_boolean(b: Bool) `{
self.z = b;
`}
fun get_boolean:Bool `{
return self.z;
`}
fun set_char(c: Char)`{
self.c = c;
`}
fun get_char: Char `{
return self.c;
`}
fun set_int(i: Int) `{
self.i = i;
`}
fun get_int: Int `{
return self.i;
`}
fun set_float(f: Float) `{
self.f = f;
`}
fun get_float: Float `{
return self.f;
`}
fun set_jobject(obj: JavaObject) `{
self.l = obj;
`}
fun get_jobject: JavaObject `{
return self.l;
`}
end
lib/jvm/jvm.nit:465,1--507,3