org.omegahat.Simulation.MCMC.Expressions
Class CachingMethodCall

org.omegahat.Simulation.MCMC.Expressions.CachingMethodCall

public class CachingMethodCall


Field Summary
protected  java.lang.reflect.Method cachedMethod
           
protected  java.lang.Object cachedObject
           
 
Constructor Summary
CachingMethodCall(org.omegahat.Simulation.MCMC.Expressions.ExpressionInt qualifier, org.omegahat.Simulation.MCMC.Expressions.List list)
           
CachingMethodCall(org.omegahat.Simulation.MCMC.Expressions.ExpressionInt qualifier, java.lang.String name, org.omegahat.Simulation.MCMC.Expressions.List list)
           
CachingMethodCall(org.omegahat.Simulation.MCMC.Expressions.Name n, org.omegahat.Simulation.MCMC.Expressions.List list)
           
CachingMethodCall(java.lang.String name, org.omegahat.Simulation.MCMC.Expressions.List list)
           
CachingMethodCall(java.lang.String name, java.lang.String[] argNames)
           
 
Method Summary
 java.lang.reflect.Method cachedMethod()
           
 java.lang.reflect.Method cachedMethod(java.lang.reflect.Method cachedMethod)
           
 java.lang.Object cachedObject()
           
 java.lang.Object cachedObject(java.lang.Object cachedObject)
           
 java.lang.String elementName(java.lang.String elementName)
           
 java.lang.Object findEvalMethod(org.omegahat.Simulation.MCMC.Expressions.List l, java.lang.Object source, org.omegahat.Environment.Interpreter.Evaluator evaluator, boolean implicitNew)
           
 org.omegahat.Simulation.MCMC.Expressions.ExpressionInt qualifier(org.omegahat.Simulation.MCMC.Expressions.ExpressionInt qualifier)
           
 

Field Detail

cachedObject

protected java.lang.Object cachedObject

cachedMethod

protected java.lang.reflect.Method cachedMethod
Constructor Detail

CachingMethodCall

public CachingMethodCall(org.omegahat.Simulation.MCMC.Expressions.Name n,
                         org.omegahat.Simulation.MCMC.Expressions.List list)

CachingMethodCall

public CachingMethodCall(org.omegahat.Simulation.MCMC.Expressions.ExpressionInt qualifier,
                         java.lang.String name,
                         org.omegahat.Simulation.MCMC.Expressions.List list)

CachingMethodCall

public CachingMethodCall(org.omegahat.Simulation.MCMC.Expressions.ExpressionInt qualifier,
                         org.omegahat.Simulation.MCMC.Expressions.List list)

CachingMethodCall

public CachingMethodCall(java.lang.String name,
                         org.omegahat.Simulation.MCMC.Expressions.List list)

CachingMethodCall

public CachingMethodCall(java.lang.String name,
                         java.lang.String[] argNames)
Method Detail

cachedMethod

public java.lang.reflect.Method cachedMethod()

cachedMethod

public java.lang.reflect.Method cachedMethod(java.lang.reflect.Method cachedMethod)

cachedObject

public java.lang.Object cachedObject()

cachedObject

public java.lang.Object cachedObject(java.lang.Object cachedObject)

qualifier

public org.omegahat.Simulation.MCMC.Expressions.ExpressionInt qualifier(org.omegahat.Simulation.MCMC.Expressions.ExpressionInt qualifier)

elementName

public java.lang.String elementName(java.lang.String elementName)

findEvalMethod

public java.lang.Object findEvalMethod(org.omegahat.Simulation.MCMC.Expressions.List l,
                                       java.lang.Object source,
                                       org.omegahat.Environment.Interpreter.Evaluator evaluator,
                                       boolean implicitNew)
                                throws java.lang.Throwable