|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.abr.calculator.BaseExpression
com.abr.calculator.FunctionExpression
com.abr.calculator.FunctionExpressionWithArgs
com.abr.calculator.MinExpression
public class MinExpression
MinExpression - MIN of an expression
Field Summary |
---|
Fields inherited from class com.abr.calculator.FunctionExpressionWithArgs |
---|
m_bArgsError, m_vArgs |
Fields inherited from class com.abr.calculator.BaseExpression |
---|
m_embeddedExpr, m_master, m_nExpressionNumber, m_nGlobalExpressionNumber, m_objVariableResolutionData, m_strExpression |
Fields inherited from interface com.abr.calculator.IExpression |
---|
OPERATOR_ADD, OPERATOR_COLON, OPERATOR_COMMA, OPERATOR_DIV, OPERATOR_EXP, OPERATOR_MOD, OPERATOR_MULT, OPERATOR_NONE, OPERATOR_QUESTION, OPERATOR_SUB |
Constructor Summary | |
---|---|
MinExpression(MasterExpression master,
java.lang.String strExpression)
|
Method Summary | |
---|---|
int |
getMaxArgCount()
DERIVED CLASSES: The maximum number of arguments for a function. |
double |
getValueInternal(int index,
java.util.Vector vArgs,
IDataSource dataSource,
ExpressionError error)
DERIVED CLASSES: You must override this method to process the actual arguments to your function, and provide a result. |
Methods inherited from class com.abr.calculator.FunctionExpressionWithArgs |
---|
getArgList, getArgList, getMinArgCount, getValueInternal |
Methods inherited from class com.abr.calculator.FunctionExpression |
---|
getFunctionName, getLogicalValueCount, getValue, getValueCount, parse, parseInternal, setFunctionName, toString |
Methods inherited from class com.abr.calculator.BaseExpression |
---|
getEmbeddedExpressions, getExpression, getExpressionID, getMaster, getName, getVariableResolutionData, getVariables, getVariables, resolveVariables, setEmbeddedExpression, setExpression, updateMaster |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MinExpression(MasterExpression master, java.lang.String strExpression)
Method Detail |
---|
public int getMaxArgCount()
FunctionExpressionWithArgs
getMaxArgCount
in class FunctionExpressionWithArgs
public double getValueInternal(int index, java.util.Vector vArgs, IDataSource dataSource, ExpressionError error)
FunctionExpressionWithArgs
getValueInternal
in class FunctionExpressionWithArgs
index
- - Index number to use when getting data.vArgs
- - Vector of IExpression objects.dataSource
- - Can provide actual data values.error
- - Set this if you encounter an error.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |