public class CaHistogramFormulaFunction extends DynamicFormulaFunction
Constructor and Description |
---|
CaHistogramFormulaFunction() |
Modifier and Type | Method and Description |
---|---|
Object |
calculate(List<Object> args)
Calculate the result of the function given the arguments.
|
void |
dispose()
Called when this instance of the formula is not needed anymore.
|
List<String> |
getArgumentNames()
The ordered list of the argument names.
|
List<Class<?>> |
getArgumentTypes()
The ordered list of the arguments type.
|
String |
getDescription()
Return the description of the function.
|
String |
getName()
Return the name of the function.
|
Class<?> |
getReturnType()
The type of the function result.
|
boolean |
isVarArgs()
Whether the function takes a variable number of arguments.
|
channel, getDirector
isPure
public boolean isVarArgs()
FormulaFunction
Variable arguments can only be at the end of the argument list, and have the same type.
public String getName()
FormulaFunction
public String getDescription()
FormulaFunction
public List<Class<?>> getArgumentTypes()
FormulaFunction
public List<String> getArgumentNames()
FormulaFunction
public Class<?> getReturnType()
FormulaFunction
public Object calculate(List<Object> args)
FormulaFunction
args
- the argument listpublic void dispose()
StatefulFormulaFunction
dispose
in class StatefulFormulaFunction
Copyright © 2015. All rights reserved.