A B C D E F G I K L M N O P R S T V

A

actionPerformed(ActionEvent) - Method in class org.omegahat.R.Java.RManualFunctionActionListener
 
add(Object) - Method in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
This is really an internal method
addDispatchCall(CodeAttr, String, String, String) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReferenceClassGenerator
Method that allows derived classes to change the way the generated methods actually invoke other methods to get things done, having gathered the arguments into an ArgList
addMethod(Method) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReferenceClassGenerator
 
anonymousAssign(Object) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Assign the value to the anonymous database (anonymousDatabase) using the next available counter as the key/variable name for the object.
anonymousDatabase - Variable in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
The database used to store the objects which are not explicitly named in a call from another system across JNI, and each is thus given an arbitrary name which is returned to the caller.
anonymousDatabase() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Retrieve a reference to the database in which the anonymous references are stored.
anonymousDatabase(Database) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Set/replace the database which stores the anonymous references.
AnonymousReference - class org.omegahat.Interfaces.NativeInterface.AnonymousReference.
A class that represents a variable stored in the anonymousDatabase() of an OmegaInterfaceManager.
AnonymousReference(String, OmegaInterfaceManager) - Constructor for class org.omegahat.Interfaces.NativeInterface.AnonymousReference
Create a reference to the specified variable in the manager's anonymousDatabase().
AnonymousReference(String, OmegaInterfaceManager, Database, String) - Constructor for class org.omegahat.Interfaces.NativeInterface.AnonymousReference
Create an anonymous reference to the variable identified by key in the given Database and controlled by the
argsToList(String[]) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Construct an object that will convert the names to objects by looking up the databases.
arrayLength(Object) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
ASSIGNABLE_FROM_MATCH - Static variable in interface org.omegahat.Interfaces.NativeInterface.ConvertibleClassifierInt
 
assignArguments(Object[], String[]) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Iterates over the names (if there are any) and for non-empty strings, assigns the corresponding element in the object vector to that name.
assignResult(String, Object) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
High-level method that determines how to process the result of a Java call (constructor, method or field access, Omegahat expression).
assignResult(String, Object, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
If the caller allows us to convert (convert == true), then check if we can convert this object.

B

BasicConvertibleClassifier - class org.omegahat.Interfaces.NativeInterface.BasicConvertibleClassifier.
 
BasicConvertibleClassifier(Evaluator) - Constructor for class org.omegahat.Interfaces.NativeInterface.BasicConvertibleClassifier
 

C

call(String) - Method in class org.omegahat.R.Java.REvaluator
Call an S function with no arguments.
call(String, Hashtable) - Method in class org.omegahat.R.Java.REvaluator
Call an S function with only named arguments, where the name-value pairs come from the given Hashtable.
call(String, Object[]) - Method in class org.omegahat.R.Java.REvaluator
Call an S function with the arguments given in the array of values.
call(String, Object[], Hashtable) - Method in class org.omegahat.R.Java.REvaluator
 
call(String, Object[], String[]) - Method in class org.omegahat.R.Java.REvaluator
Call the named S function with the specified argument values and the names of the arguments specified argName, which can contain null values for un-named arguments.
call(String, Object[], String[], Class) - Method in class org.omegahat.R.Java.REvaluator
Call the named S function with the specified argument values and the names of the arguments specified argName, which can contain null values for un-named arguments and specifying the class to which the return value should be converted.
call(String, Object[], String[], Class, boolean) - Method in class org.omegahat.R.Java.REvaluator
The native method that actually performs the call to the S function given the arguments and their names and the target class for the result.
call(String, OrderedTable) - Method in class org.omegahat.R.Java.REvaluator
Unimplemented!
callConstructor(String, Object[], String[], String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Creates a new object of the specified class, invoking the constructor with the given arguments having assigned any with a permanent name to the regular database for future use.
className - Variable in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
 
clearReference(String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Removes the specified reference identified by name in either the named or anonymous database of references.
clearReferences(boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Convenience method for clearing all the references from either the named or anonymous database.
convertable(Class) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Determines whether the specified object can be converted to an object in the caller's own system, or whether it should be returned as a reference to the Java object.
convertable(Object) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Determines whether the specified object can be converted to an object in the caller's own system based on the class of the object.
converterFactory - Variable in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
ConvertibleClassifier - class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier.
This class is used to implement a lookup table to determine whether a Java object can be converted directly to an R object or whether a reference must be used.
ConvertibleClassifier() - Constructor for class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
 
ConvertibleClassifier(Evaluator) - Constructor for class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
The standard constructor which receives the evaluator to use for resolving classes when a class is registered
ConvertibleClassifier(int) - Constructor for class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
Allocates an initial capacity of n
ConvertibleClassifierInt - interface org.omegahat.Interfaces.NativeInterface.ConvertibleClassifierInt.
 
convertResult(Object, String) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
This is used to convert the object the foreign system (e.g R/S) gives us when we call a function in that system from a dynamically generated Java method (e.g.
count - Variable in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
createArgs(Hashtable, String[]) - Method in class org.omegahat.R.Java.REvaluator
 
createArgs(Hashtable, String[], Object[], int) - Method in class org.omegahat.R.Java.REvaluator
 
createArray(Class, int[]) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
createArray(String, int) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
createArray(String, int[]) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
createCallFrame(Object[], String[]) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Used when evaluating an \OMega{} expression in the manager with arguments specified in a frame like a substitute() function call in S.

D

database - Variable in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
The database in which the object identified by the key lives.
database() - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
The Database in which the referenced object resides.
database() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Get a reference to the named reference database.
database(Database) - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
Store the Database in which the referenced object lives.
database(Database) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Set the default database for storing named references.
db - Variable in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
The default database in which objects that are exported as named references are stored.
debug - Variable in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Flag controlling whether debugging information is displayed.
debug() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Query whether debug information is displayed.
debug(boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Specify whether debug information is displayed.
debug(int) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Set the level at which debugging information should be displayed.
defineClass(String, String[], Evaluator) - Method in class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
 
displayTask(Task) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Consumes the output of the task, hiding it from view.

E

eval(Evaluator) - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
Evaluate the reference object, returning the value to which it refers.
eval(Evaluator) - Method in class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
 
eval(List, String, String, String[]) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
The method that performs the callback to the foreign system and arranges to resolve the reference, convert the arguments, invoke the appropriate method identified by methodName, convert the return value, etc.
eval(List, String, String, String[]) - Method in interface org.omegahat.Interfaces.NativeInterface.ForeignReferenceInt
Callback to the foreign system with all the details of the Java method being called.
eval(Object[], Evaluator) - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
 
eval(Object[], Evaluator) - Method in class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
 
eval(String) - Method in class org.omegahat.R.Java.REvaluator
Evaluate the specified S command, given as a string and return the result, having converted it from S to Java.
eval(String, boolean) - Method in class org.omegahat.R.Java.REvaluator
Evaluate the specified S command and control whether the result in S is converted to Java or returned as a reference in Java to that S object.
eval(String, boolean, Class, boolean) - Method in class org.omegahat.R.Java.REvaluator
A native C method that evaluates an S command given as a string which is used to bridge the interface between Java and S.
eval(String, Class) - Method in class org.omegahat.R.Java.REvaluator
Evaluate the specified S command, identifying the type of the return value expected.
eval(String, Class, boolean) - Method in class org.omegahat.R.Java.REvaluator
The complete method for evaluating an S command given as a string, allowing control of whether the result is converted to Java or returned as a reference, and also supporting the specification of a return type from the evaluation which controls to what Java type the result is converted.
eval(String, ExpressionInt) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
An internal method for evaluating an expression and assigning the value to the specified name in the named database.
evalConstructor(String, Object[], String[], String) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
evalConstructor(String, String[], String) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
evalMethod(String, String, String[], String) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
evaluate(String, Object[], String[], String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Evaluation of an Omegahat expression.
evaluator - Variable in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
 
evaluator - Variable in class org.omegahat.Interfaces.NativeInterface.ForeignReference
 
EXACT_MATCH - Static variable in interface org.omegahat.Interfaces.NativeInterface.ConvertibleClassifierInt
 
expandClassName(String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
A convenience method that takes the partially qualified name of a class and returns the fully qualfied name of the class to which it resolves.

F

fixArgs(String[]) - Static method in class org.omegahat.R.Java.ROmegahatInterpreter
This takes the user's command line arguments and adds the equivalent of argv[0] (the name of the application being invoked) to them so that they can be passed to and correctly understood by the R engine.
ForeignReference - class org.omegahat.Interfaces.NativeInterface.ForeignReference.
An abstract class that implements the basic functionality for converting a foreign reference (i.e.
ForeignReference(ForeignReference) - Constructor for class org.omegahat.Interfaces.NativeInterface.ForeignReference
 
ForeignReference(ForeignReference, OmegaInterfaceManager) - Constructor for class org.omegahat.Interfaces.NativeInterface.ForeignReference
 
ForeignReference(String) - Constructor for class org.omegahat.Interfaces.NativeInterface.ForeignReference
 
ForeignReference(String, OmegaInterfaceManager) - Constructor for class org.omegahat.Interfaces.NativeInterface.ForeignReference
 
ForeignReferenceClassGenerator - class org.omegahat.Interfaces.NativeInterface.ForeignReferenceClassGenerator.
 
ForeignReferenceClassGenerator() - Constructor for class org.omegahat.Interfaces.NativeInterface.ForeignReferenceClassGenerator
 
ForeignReferenceClassGenerator(String[], String) - Constructor for class org.omegahat.Interfaces.NativeInterface.ForeignReferenceClassGenerator
 
ForeignReferenceClassGenerator(String, String) - Constructor for class org.omegahat.Interfaces.NativeInterface.ForeignReferenceClassGenerator
 
ForeignReferenceClassGenerator(String, String, boolean) - Constructor for class org.omegahat.Interfaces.NativeInterface.ForeignReferenceClassGenerator
 
ForeignReferenceInt - interface org.omegahat.Interfaces.NativeInterface.ForeignReferenceInt.
Interface defining the concept of an R or S object that is being exported to Java via the embedded JVM mechanism, and the methods that this should support.

G

genericCallMethod(Evaluable, String, Object[], String[], String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
This version evaluates the target object on which the method or field access is being performed and then passes this to the the regular evaluation.
genericCallMethod(MethodCall, String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
genericCallMethod(Object, String, Object[], String[], String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Invoke the method identified by methodName on the specified object - be it a expression or regular object - passing it the args as arguments.
genericCallMethod(String[], Object[], String[], String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Work horse method for the interface manager.
genericCallMethod(String, String, Object[], String[], String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
get(String, String) - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceDatabase
 
getAllClasses() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
getArrayClasses() - Static method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
getArrayElement(Object, int) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
getArrayElement(Object, int[]) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Get an element from an array, possibly a multi-dimensional array
getArrayElements(Object, int[]) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Get one or more elements from the specified array, treating the indices as entries in the top-level of the array rather than as a sequence of entries within a multi-level array that identifies a single recursive entry.
getClassName() - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
Accessor for className field
getConstructors(Class) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Method to allow R calls to determine the constructors offered by a particular class.
getConstructors(String) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Method to allow R calls to determine the constructors offered by a particular class which is identified by name.
getConvertibleClasses() - Method in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
 
getConvertibleClasses() - Method in interface org.omegahat.Interfaces.NativeInterface.ConvertibleClassifierInt
 
getConvertibleClasses() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Retrieves a description (the name) of all the classes that the current ConvertibleClassifierInt considers convertible.
getConvertibleClassifier() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Accessor for converterFactory field
getDatabaseID() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
getDataType(Object) - Static method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Returns the class name of the specified object or null if the object is itself null.
getEvaluator() - Method in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
Accessor for evaluator field
getEvaluator() - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
Accessor for evaluator field.
getId() - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceDatabase
 
getMethod(Class, String) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
This finds all the methods with the specified name in the given class.
getMethod(String, String) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
This finds all the methods with the specified name in the class identified by the (partially qualified) class name className.
getMethods(Class) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
getMethods(String) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Another form of the getMethods() method for use by the foreign system to discover the methods it might call on an object.
getName() - Method in class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
Accessor for name field
getPrimitiveClasses() - Static method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
getReferenceName() - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
Accessor for name field
getReferenceName() - Method in interface org.omegahat.Interfaces.NativeInterface.ForeignReferenceInt
 
getReferences(boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Method that can be easily called from R/S to retrieve a list of all the references in either the named or anonymous database.
getReferences(Database, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
This is the method that computes the array of references for the elements within the specified database
getReferenceValue(Object) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Motivated by need to resolve a reference in native C code from R when creating an R-Java graphics device.
getReferenceValue(String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
getTargetClass() - Method in class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
Accessor for targetClass field
getWrapperClasses() - Static method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 

I

id - Variable in class org.omegahat.Interfaces.NativeInterface.InterfaceDatabase
 
identity(Object) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
A method for allowing an object in the database to be returned to the R side with a simple call as well as allowing the object to be printed here for debugging purposes.
identity(Object, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
init() - Method in class org.omegahat.R.Java.RSplash
 
initR(String[]) - Method in class org.omegahat.R.Java.ROmegahatInterpreter
Native method that initializes the R engine and interpreter making it available for evaluating expressions.
INSTANCEOF_MATCH - Static variable in interface org.omegahat.Interfaces.NativeInterface.ConvertibleClassifierInt
 
InterfaceDatabase - class org.omegahat.Interfaces.NativeInterface.InterfaceDatabase.
 
InterfaceReference - class org.omegahat.Interfaces.NativeInterface.InterfaceReference.
The base class for the two reference objects, anonymous and named, used to store objects created in Java and passed back to other applications such as and via the JNI, avoiding conversion and available for reuse in further expressions/calls.
InterfaceReference() - Constructor for class org.omegahat.Interfaces.NativeInterface.InterfaceReference
 
InterfaceReference(String, OmegaInterfaceManager) - Constructor for class org.omegahat.Interfaces.NativeInterface.InterfaceReference
Create the reference for the given name using the specified manager and its default database.
InterfaceReference(String, OmegaInterfaceManager, Database) - Constructor for class org.omegahat.Interfaces.NativeInterface.InterfaceReference
Create the reference for the object named by key in the specified database (either the named or anonymous database) associated with the given InterfaceManager
InterfaceReference(String, OmegaInterfaceManager, Database, String) - Constructor for class org.omegahat.Interfaces.NativeInterface.InterfaceReference
 
is(Object, Class, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
is(Object, String, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
isConvertible(Object) - Method in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
Main entry point for determining if the object can be converted.
isConvertible(Object) - Method in interface org.omegahat.Interfaces.NativeInterface.ConvertibleClassifierInt
 
isConvertible(Object, Class) - Method in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
Determines whether the object is considered convertible by comparing it and/or its class with the entries in this classifier's table of classes that are know to be convertible.

K

key - Variable in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
The name of the entry in the database which this object identifies.
key() - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
Retrieve the name of the object to which this object refers.
key(String) - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
Set the name of the object being referenced by this object.

L

localEval(List, String, String, String[]) - Method in class org.omegahat.R.Java.RForeignReference
The method that performs the call back to R to invoke the method named methodName on the object identified by this objects reference identifier (getReferenceName()).
longCheck(Class, Object) - Method in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
This performs the lengthy check comparing the actual object being converted (value) against the different classes registered with this classifier to determine if it is compatible with any of these classes.

M

main(String[]) - Static method in class org.omegahat.R.Java.ROmegahatInterpreter
The entry point for using this as a top-level, stand-alone application which simply runs R within Java, but getting the low-level C libraries loaded (more) correctly.
manager - Variable in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
The interface manager in which the object was created and resides.
manager() - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
The interface manager
manager(OmegaInterfaceManager) - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
 
MetaForeignReference - class org.omegahat.Interfaces.NativeInterface.MetaForeignReference.
An abstract class that implements the basic functionality for converting a foreign reference (i.e.
MetaForeignReference(String) - Constructor for class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
 
MetaForeignReference(String, String) - Constructor for class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
Assumes the class identified by targetType already exists, or can be generated by extending a known base class.
MetaForeignReference(String, String, String[]) - Constructor for class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
 
MetaForeignReference(String, String, String[], Evaluator) - Constructor for class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
Eagerly generate a new class named targetType that implements the methods of the specified interfaces in baseTypes.

N

name - Variable in class org.omegahat.Interfaces.NativeInterface.ForeignReference
The identifier of the object in the foreign system.
name - Variable in class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
 
NamedReference - class org.omegahat.Interfaces.NativeInterface.NamedReference.
This class represents a named variable stored in the InterfaceManager's default database.
NamedReference(String, OmegaInterfaceManager) - Constructor for class org.omegahat.Interfaces.NativeInterface.NamedReference
Create the reference for the object indexed by the given key, controlled by the given manager and stored in the manager's defalt database.
NamedReference(String, OmegaInterfaceManager, Database, String) - Constructor for class org.omegahat.Interfaces.NativeInterface.NamedReference
Create a reference to the object assigned to the specified database using the variable name key and controlled by the InterfaceManager.
nativeSetup(OmegaInterfaceManager, Object) - Static method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
numLocalVariables(int) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReferenceClassGenerator
Overrides the method to add space for the return type and the signature and elements.

O

objects(boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
OmegaInterfaceManager - class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager.
An extension of the interactive evaluator which can be used to embedded Omegahat within foreign systems such as S or R for brokering object creation and method invocation.
OmegaInterfaceManager() - Constructor for class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Default constructor that creates its own databases for storing the named and anonymous references and registers itself as the default evaluator, creates basic variables for referencing the evaluator and manager (one and the same) from R/S.
OmegaInterfaceManager(boolean) - Constructor for class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Default constructor that creates its own databases for storing the named and anonymous references and registers itself as the default evaluator
OmegaInterfaceManager(File) - Constructor for class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Create the manager, reading the Options from the specified file.
OmegaInterfaceManager(InputStream) - Constructor for class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Create the manager, reading the Options name-value pairs from the specified stream.
OmegaInterfaceManager(String) - Constructor for class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Create the manager, reading the properties specifying the Options from the file identified by name or contained in the text of name if it does not refer to a file.

P

processArg(Object) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
Convert an argument to an anonymous reference, or leave as is.
processArgs(List) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
Iterates over the specified arguments and processes each one so it can be passed to the native method which will call the foreign system - R or S - converting non-convertable objects to anonymous references.
PublicFlag - Static variable in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 

R

registerNativeConverters() - Method in class org.omegahat.R.Java.ROmegahatInterpreter
User-level (i.e.
remove(AnonymousReference) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Remove the specified reference from the anonymous database.
remove(NamedReference) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Remove the named reference from the named database.
remove(Object) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Generic remove method that can handle an argument which is a String or a Named or Anonymous reference.
remove(String) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Remove the variable from one of the evaluator manager's database.
remove(String, Database) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Remove the specified variable from the given database
removeTemporaryAnonymousReferences(Object[], List) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
Used to clean up any anonymous references created by processArgs() before the call to the foreign system.
reval(String, Object[], String, String, String[]) - Method in class org.omegahat.R.Java.RForeignReference
Native method that invokes the "method" identified by methodName on the underlying S object (usually a closure), passing it the arguments given in the array args.
REvaluator - class org.omegahat.R.Java.REvaluator.
Provides facilities for evaluating R expression and calling R functions from within Java.
REvaluator() - Constructor for class org.omegahat.R.Java.REvaluator
Default constructor, simply creating an unamed reference to itself.
RForeignReference - class org.omegahat.R.Java.RForeignReference.
This is the main class for an representing an S object in Java, where the S object is not copied to Java but stored within S and accessed in Java via this "proxy" reference.
RForeignReference(ForeignReference) - Constructor for class org.omegahat.R.Java.RForeignReference
 
RForeignReference(ForeignReference, OmegaInterfaceManager) - Constructor for class org.omegahat.R.Java.RForeignReference
 
RForeignReference(String) - Constructor for class org.omegahat.R.Java.RForeignReference
Create a reference with the specified name.
RForeignReference(String, OmegaInterfaceManager) - Constructor for class org.omegahat.R.Java.RForeignReference
Create a reference with the specified identifier/name an register that its Omegahat evaluator is the given here.
RManualFunctionActionListener - class org.omegahat.R.Java.RManualFunctionActionListener.
A class that allows an R object (function or closure) to be used as an ActionListener for Swing buttons, etc.
RManualFunctionActionListener(ForeignReference) - Constructor for class org.omegahat.R.Java.RManualFunctionActionListener
 
RManualFunctionActionListener(ForeignReference, OmegaInterfaceManager) - Constructor for class org.omegahat.R.Java.RManualFunctionActionListener
 
RManualFunctionActionListener(String) - Constructor for class org.omegahat.R.Java.RManualFunctionActionListener
 
RManualFunctionActionListener(String, OmegaInterfaceManager) - Constructor for class org.omegahat.R.Java.RManualFunctionActionListener
 
ROmegahatInterpreter - class org.omegahat.R.Java.ROmegahatInterpreter.
An Omegahat interpreter that also loads and initializes an embedded R interpreter and that can optionally pass control to it to get the usual R prompt.
ROmegahatInterpreter(String[]) - Constructor for class org.omegahat.R.Java.ROmegahatInterpreter
Basic constructor for this class which initializes R with the specified command line arguments and runs the R event loop.
ROmegahatInterpreter(String[], boolean) - Constructor for class org.omegahat.R.Java.ROmegahatInterpreter
Constructor that initializes R and optionally runs its event loop.
RSplash - class org.omegahat.R.Java.RSplash.
A splash screen to announce that R is being started within the Java process.
RSplash() - Constructor for class org.omegahat.R.Java.RSplash
 
run() - Method in class org.omegahat.R.Java.ROmegahatInterpreter
A native method that simply runs the R event loop, currently never returning from this call.

S

setArrayElement(Object, int[], Object) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
setArrayElement(Object, int, Object) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
setClassName(String) - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
Accessor for className field
setConvertible(Class, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
 
setConvertible(Class, int, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
 
setConvertible(Class, int, boolean) - Method in interface org.omegahat.Interfaces.NativeInterface.ConvertibleClassifierInt
 
setConvertible(Class, int, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
setConvertible(String, int, boolean) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
setConvertibleClassifier() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
setConvertibleClassifier(ConvertibleClassifierInt) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Accessor for converterFactory field
setDebug(int) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
Set the level of debugging so that code segments surrounded by a call to debug(n) will only be executed if level is greater than n.
setEvaluator(Evaluator) - Method in class org.omegahat.Interfaces.NativeInterface.ConvertibleClassifier
Accessor for setting evaluator field
setEvaluator(OmegaInterfaceManager) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
Accessor for setting evaluator field
setName(String) - Method in class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
Accessor for name field
setReferenceName(String) - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
Accessor for name field
setTargetClass(String) - Method in class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
Accessor for setting targetClass field

T

targetClass - Variable in class org.omegahat.Interfaces.NativeInterface.MetaForeignReference
Name of the class which we will use as the class of the Java object used to represent the remote reference.
testBooleanArray() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
testBooleanArrays() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
testDoubleArray() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
testIntArray() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
testStringArray() - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
testStringArray(String[]) - Method in class org.omegahat.Interfaces.NativeInterface.OmegaInterfaceManager
 
toString() - Method in class org.omegahat.Interfaces.NativeInterface.ForeignReference
 
toString() - Method in class org.omegahat.Interfaces.NativeInterface.InterfaceReference
Show the key as a pointer to some other object.

V

voidEval(String) - Method in class org.omegahat.R.Java.REvaluator
Evaluate the specified S command and discard the result, avoiding the conversion to Java.

A B C D E F G I K L M N O P R S T V