AnonymousOmegahatReference {Java}R Documentation

Convenience syntax for accessing Java method or field

Description

These methods allow one to invoke Java methods in the form jobj$methodName(arg1,arg2,....)

Usage

$.AnonymousOmegahatReference(obj, name)
$.NamedOmegahatReference(obj, name)

Arguments

obj the reference to the Java object.
name the name of the Java method or field being accessed.

Details

This is merely syntactic sugar for .Java(obj, name,)

Value

The return value is a function which remembers the arguments to this function call and, when called, results in a call to .Java using those arguments.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/RSJava

See Also

.Java

Examples

 p <- .Java("System", "getProperties", .convert=F)
 p$getProperty("java.class.path")