org.jfree.formula.function.math

Class MaxFunctionDescription

Implemented Interfaces:
FunctionDescription

public class MaxFunctionDescription
extends AbstractFunctionDescription

Describes MaxFunction function.
Author:
Cedric Pronzato
See Also:
MaxFunction

Constructor Summary

MaxFunctionDescription()

Method Summary

FunctionCategory
getCategory()
int
getParameterCount()
Type
getParameterType(int position)
Returns the parameter type at the given position using the function metadata.
Type
getValueType()
boolean
isInfiniteParameterCount()
boolean
isParameterMandatory(int position)
Defines, whether the parameter at the given position is mandatory.

Methods inherited from class org.jfree.formula.function.AbstractFunctionDescription

getBundle, getDefaultValue, getDescription, getDisplayName, getParameterDescription, getParameterDisplayName, isInfiniteParameterCount, isVolatile

Constructor Details

MaxFunctionDescription

public MaxFunctionDescription()

Method Details

getCategory

public FunctionCategory getCategory()
Specified by:
getCategory in interface FunctionDescription

getParameterCount

public int getParameterCount()
Specified by:
getParameterCount in interface FunctionDescription

getParameterType

public Type getParameterType(int position)
Returns the parameter type at the given position using the function metadata. The first parameter is at the position 0;
Specified by:
getParameterType in interface FunctionDescription
Parameters:
position - The parameter index.
Returns:
The parameter type.

getValueType

public Type getValueType()
Specified by:
getValueType in interface FunctionDescription

isInfiniteParameterCount

public boolean isInfiniteParameterCount()
Specified by:
isInfiniteParameterCount in interface FunctionDescription
Overrides:
isInfiniteParameterCount in interface AbstractFunctionDescription

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.
Specified by:
isParameterMandatory in interface FunctionDescription
Returns: