jclassName-class {rJava} | R Documentation |
This class holds a name of a class in Java.
Objects of this class should *not* be created directly. Instead, the
function J
should be used to create new objects of this class.
name
:jobj
:
The objects of class jclassName
are used indirectly to be able
to create new Java objects via new
such as
new(J("java.lang.String"), "foo")
or to use the $
convenience operator on static classes, such as
J("java.lang.Double")$parseDouble("10.2")
.
as.character
signature(x = "jclassName")
:
returns the class name as a string vector of length one.
Simon Urbanek