com.bc.jexp.impl
Class AbstractFunction.I
java.lang.Object
com.bc.jexp.impl.AbstractFunction
com.bc.jexp.impl.AbstractFunction.I
- All Implemented Interfaces:
- Function
- Enclosing class:
- AbstractFunction
public abstract static class AbstractFunction.I
- extends AbstractFunction
|
Method Summary |
boolean |
evalB(EvalEnv env,
Term[] args)
Evaluates this function to a double value. |
double |
evalD(EvalEnv env,
Term[] args)
Evaluates this function to a double value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFunction.I
public AbstractFunction.I(String name,
int numArgs)
AbstractFunction.I
public AbstractFunction.I(String name,
int numArgs,
int[] argTypes)
evalB
public boolean evalB(EvalEnv env,
Term[] args)
throws EvalException
- Description copied from interface:
Function
- Evaluates this function to a
double value.
- Parameters:
env - the application dependant environment.args - the (un-evaluated) arguments passed to the function
- Returns:
- a
double value
- Throws:
EvalException - if the evaluation fails
evalD
public double evalD(EvalEnv env,
Term[] args)
throws EvalException
- Description copied from interface:
Function
- Evaluates this function to a
double value.
- Parameters:
env - the application dependant environment.args - the (un-evaluated) arguments passed to the function
- Returns:
- a
double value
- Throws:
EvalException - if the evaluation fails
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.