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
:Name of the class (in source code notation)
jobj
:Object representing the class in Java
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
J
, new