When a value is to be returned from Java to R, the Omegahat evaluator examines a table to determine if an object of that type can be converted to R. This function manipulates that table and allows one to control for what types of objects conversion is attempted.
This is not used currently. The Java objects are returned directly and the user-level converters determine whether the object is ‘convertible’.
The name of a Java class or interface which is to be added or removed from the set of known convertible classes. This can be a partially qualified class name that is resolved by the Omegahat evaluator.
logical value indicating whether objects of class
an integer value from the set 0, 1 and 2. These values indicate how comparisons between the registerd class and the object to be converted are performed.
These constants are defined in the Java interface
setJavaConvertible in the Omegahat evaluator which
passes the request on to the
employed by that evaluator.
NULL corresponding to a call to a Java method
Duncan Temple Lang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.