javaSig: Converts an R type name to a Java type

Description Usage Arguments Details Value Author(s) References See Also

Description

When specifying a Java type in the .sigs argument of the different method/constructor calls to influence which method is dispatched in the remote system and how R objects are converted, one must use the appropriate type specifier. This function converts R types to the corresponding Java string. This handles converting R primitive types such as integer to "I", double to "D", logical to "Z", etc. and classes to "Lpkg/subpkg/.../className;"

Usage

1

Arguments

name

The name of the R type whose corresponding Java type identifier is being sought. If this is specified as an object, its mode is take. See RtoJavaSig

Details

This searches the mapping contained in .JavaSigs

Value

a string (character vector of length 1) with the Java type identifier corresponding to the input.

Author(s)

John Chambers, Duncan Temple Lang

References

http://www.omegahat.org/RSJava

See Also

RtoJavaSig


SJava documentation built on Oct. 5, 2016, 4:17 a.m.

Related to javaSig in SJava...