org.jfree.formula.function.math
Class AverageFunctionDescription
java.lang.Object
org.jfree.formula.function.AbstractFunctionDescription
org.jfree.formula.function.math.AverageFunctionDescription
- All Implemented Interfaces:
- FunctionDescription
public class AverageFunctionDescription
- extends AbstractFunctionDescription
Describes AverageFunction function.
- Author:
- Cedric Pronzato
- See Also:
AverageFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AverageFunctionDescription
public AverageFunctionDescription()
getValueType
public Type getValueType()
getParameterCount
public int getParameterCount()
isInfiniteParameterCount
public boolean isInfiniteParameterCount()
- Specified by:
isInfiniteParameterCount
in interface FunctionDescription
- Overrides:
isInfiniteParameterCount
in class AbstractFunctionDescription
getParameterType
public Type getParameterType(int position)
- Description copied from interface:
FunctionDescription
- Returns the parameter type at the given position using the function
metadata. The first parameter is at the position 0;
- Parameters:
position
- The parameter index.
- Returns:
- The parameter type.
isParameterMandatory
public boolean isParameterMandatory(int position)
- Defines, whether the parameter at the given position is mandatory. A
mandatory parameter must be filled in, while optional parameters need not
to be filled in.
- Returns:
getCategory
public FunctionCategory getCategory()