jclassName: Class "jclassName" - a representation of a Java class name

Description Objects from the Class Slots Methods Author(s) See Also

View source: R/J.R


This class holds a name of a class in Java.

Objects from the Class

Objects of this class should *not* be created directly. Instead, the function J should be used to create new objects of this class.



Name of the class (in source code notation)


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").


signature(x = "jclassName"): returns the class name as a string vector of length one.


Simon Urbanek

See Also

J, new

rJava documentation built on Sept. 24, 2021, 5:06 p.m.

Related to jclassName in rJava...