Joy Online Manual
NAME |
Java.toJava - Force conversion from Objective-C object to Java object Java.toObjC - Force conversion from Java object to Objective-C object |
SYNOPSIS |
Java.toJava(expr)
Java.toObjC(expr)
DESCRIPTION |
These statements convert between Objective-C and Java objects. This is done automatically by the system, but in some instances it may be necessary to deambiguate manually, with these commands. |
EXAMPLE |
js> Java.toJava([[NSObject alloc] init]);
js> Java.toObjC(new java.lang.Object);
Index |