Uses of Interface
org.yamcs.studio.data.formula.FormulaFunction
-
Uses of FormulaFunction in org.yamcs.studio.data.formula
Modifier and TypeClassDescriptionclass
class
Abstract class for formula functions that take two integerVNumber
as arguments and return an integerVNumber
.class
Abstract class for formula functions that take twoVNumberArray
as arguments and return aVNumberArray
.class
Abstract class for formula functions that take aVNumber
and aVNumberArray
as arguments and return aVNumberArray
.class
Abstract class for formula functions that take oneVNumber
as argument and return aVNumber
.class
Abstract class for formula functions that take aVNumberArray
and aVNumber
as arguments and return aVNumberArray
.class
class
Abstract class for formula functions that take twoVNumber
s as arguments and return aVNumber
.Modifier and TypeMethodDescriptionstatic FormulaFunction
FormulaFunctions.findFirstMatch
(List<Object> arguments, Collection<FormulaFunction> formulaFunctions) Finds the first function that can accept the given values as arguments.Modifier and TypeMethodDescriptionstatic Collection<FormulaFunction>
FormulaFunctions.findArgTypeMatch
(List<Class<?>> argTypes, Collection<FormulaFunction> formulaFunctions) Finds the functions that match the given types as arguments.final Collection<FormulaFunction>
FormulaFunctionSet.findFunctions
(String name) Returns all the functions in the set with the given name.FormulaRegistry.findFunctions
(String functionName, Integer nArguments) Finds the registered function with the given name and that can accept the given number of arguments.final Collection<FormulaFunction>
FormulaFunctionSet.getFunctions()
Returns all functions in the set.Modifier and TypeMethodDescriptionFormulaFunctionSetDescription.addFormulaFunction
(FormulaFunction formulaFunction) Adds a formula in the set.static String
FormulaFunctions.formatSignature
(FormulaFunction function) Returns a string representation of the function that will include the function name, argument types, argument names and the result type.static boolean
FormulaFunctions.matchArgumentCount
(int nArguments, FormulaFunction function) Check whether the function will accept the given number of arguments.static boolean
FormulaFunctions.matchArgumentTypes
(List<Object> arguments, FormulaFunction function) Check whether the function will accept the given list of values as arguments.static boolean
FormulaFunctions.matchArgumentTypes
(List<Object> arguments, FormulaFunction function, boolean allowNull) Checks whether the function will accept the given arguments.Modifier and TypeMethodDescriptionstatic Collection<FormulaFunction>
FormulaFunctions.findArgTypeMatch
(List<Class<?>> argTypes, Collection<FormulaFunction> formulaFunctions) Finds the functions that match the given types as arguments.static FormulaFunction
FormulaFunctions.findFirstMatch
(List<Object> arguments, Collection<FormulaFunction> formulaFunctions) Finds the first function that can accept the given values as arguments.