|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.core.formula.lang.NumericFunction
public class NumericFunction
A numeric function that invokes a method object.
| Constructor Summary | |
|---|---|
NumericFunction(Method method)
Creates a new math reflection function. |
|
| Method Summary | |
|---|---|
Value |
applyTo(Expression[] arguments)
Invokes the function using the given arguments and returns the result. |
String |
getIdentifier()
Returns the operator's string identirifer. |
FunctionParameter[] |
getParameters()
Returns the parameters of the function. |
boolean |
isVarArg()
Returns whether the function accepts a variable number of arguments, i.e. whether the function's parameter list is unbounded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumericFunction(Method method)
| Method Detail |
|---|
public String getIdentifier()
Function
getIdentifier in interface Function
public Value applyTo(Expression[] arguments)
throws IllegalValueTypeException
Function
applyTo in interface FunctionIllegalValueTypeExceptionpublic FunctionParameter[] getParameters()
Function
getParameters in interface Functionpublic boolean isVarArg()
Function
isVarArg in interface Function
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||